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 |
404 | 39,533 | 5,208 |
View on GitHub
|
|
Adriaan Marain
@AdrianMrn |
259 | 1,858 | 237 |
View on GitHub
|
|
Hennik Hunsaker
@danhunsaker |
14 | 34 | 58 |
View on GitHub
|
|
peter279k
@peter279k |
273 | 475 | 2,146 |
View on GitHub
|
How can I help you explore Laravel packages today?