In this episode of the Quick Win Wednesday series, we’re taking a look at whereAny(), which was released with Laravel 10.47.
A very elegant way of grabbing data based on a conditional “any of the following columns”.
PHP
Immutability in PHP Beyond readonly
A deep dive into immutability in PHP, from readonly properties and interior mutability to immutable value objects, collections, dates, cloning, boundaries, and testing. Read more