spatie/or-else
Adds an OrElse trait that auto-creates “*OrElse” method variants for your class methods. These variants accept a fallback value that’s returned whenever the original method returns null or false, helping you avoid repetitive default-handling code.
None
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^4.8 || ^5.7 || ^6.5 |
| scrutinizer/ocular | ~1.1 |
How can I help you explore Laravel packages today?