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,807 | 5,208 |
View on GitHub
|
|
Adriaan Marain
@AdrianMrn |
257 | 1,849 | 237 |
View on GitHub
|
|
Hennik Hunsaker
@danhunsaker |
14 | 34 | 58 |
View on GitHub
|
|
peter279k
@peter279k |
258 | 441 | 2,146 |
View on GitHub
|
How can I help you explore Laravel packages today?