Once you've read https://www.phparch.com/2022/09/writing-cleaner-more-resilient-code-with-value-objects/ on #phparch, take some time to learn how to obfuscate your value objects (and protect potentially sensitive data) here => https://eric.mann.blog/self-obfuscating-value-objects/

#php #designpatterns

Writing Cleaner More Resilient Code With Value Objects | php[architect]

As developers, we should always be striving to learn new methods to reduce the number of bugs in our code. Some methods require us to completely re-architect our code, but sometimes there are those hidden gems that we can quickly add to our code base that will immediately help us and require just a little […]

php[architect]
PHP: SensitiveParameter - Manual