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
|
|
|---|---|---|---|---|
|
Freek Van der Herten
@freekmurze |
366 | 35,744 | 5,203 |
View on GitHub
|
|
Adriaan Marain
@AdrianMrn |
251 | 1,808 | 237 |
View on GitHub
|
|
Hennik Hunsaker
@danhunsaker |
4 | 4 | 58 |
View on GitHub
|
|
Chun-Sheng, Li
@peter279k |
168 | 275 | 2,134 |
View on GitHub
|
How can I help you explore Laravel packages today?