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.
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
freekmurze
@freekmurze |
400 | 38,805 | 5,208 |
View on GitHub
|
|
sebastiandedeyne
@sebastiandedeyne |
177 | 2,591 | 1,031 |
View on GitHub
|
|
Willem Van Bockstal
@willemvb |
34 | 178 | 340 |
View on GitHub
|
|
Bayram Ali
@elvendor |
1 | 1 | 60 |
View on GitHub
|
|
Agboola Sherriff
@rylxes |
1 | 2 | 11 |
View on GitHub
|
How can I help you explore Laravel packages today?