spatie/laravel-or-abort
Adds an OrAbort trait to Laravel models to abort with a chosen HTTP status when common calls fail (e.g., findOrAbort($id, 500) instead of returning null/false). Note: this package is no longer maintained.
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
freekmurze
@freekmurze |
402 | 38,994 | 5,208 |
View on GitHub
|
|
Adriaan Marain
@AdrianMrn |
257 | 1,848 | 237 |
View on GitHub
|
|
sebastiandedeyne
@sebastiandedeyne |
176 | 2,497 | 1,031 |
View on GitHub
|
How can I help you explore Laravel packages today?