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 |
600 | 62,701 | 5,272 |
View on GitHub
|
|
Adriaan Marain
@AdrianMrn |
299 | 2,188 | 237 |
View on GitHub
|
|
Chun-Sheng, Li
@peter279k |
415 | 708 | 2,308 |
View on GitHub
|
|
danhunsaker
@danhunsaker |
31 | 62 | 61 |
View on GitHub
|
How can I help you explore Laravel packages today?