sourcetoad/enhanced-resources
Laravel API resource enhancement that lets a single Resource expose multiple output “formats” via PHP attributes. Mark methods with #[Format], pick formats with ->format('name'), and optionally set a default with #[IsDefault] to avoid exceptions.
|
Person
|
Packages
|
Contributions
|
Followers
|
|
|---|---|---|---|---|
|
Jason Jones
@Jasonej |
6 | 133 | 2 |
View on GitHub
|
|
iBotPeaches
@iBotPeaches |
17 | 161 | 2,253 |
View on GitHub
|
|
joeladam518
@joeladam518 |
1 | 11 | 16 |
View on GitHub
|
|
dependabot[bot]
@dependabot[bot] |
1,561 | 48,585 | 0 |
View on GitHub
|
|
erik-perri
@erik-perri |
8 | 237 | 7 |
View on GitHub
|
|
Laravel Shift
@laravel-shift |
448 | 1,545 | 680 |
View on GitHub
|
How can I help you explore Laravel packages today?