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,607 | 50,053 | 0 |
View on GitHub
|
|
erik-perri
@erik-perri |
8 | 239 | 7 |
View on GitHub
|
|
Laravel Shift
@laravel-shift |
454 | 1,572 | 680 |
View on GitHub
|
How can I help you explore Laravel packages today?