| Package Data | |
|---|---|
| Maintainer Username: | Maras0830 |
| Maintainer Contact: | maraschen@4gamers.com.tw (Maras Chen) |
| Package Create Date: | 2017-05-17 |
| Package Last Update: | 2017-07-20 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-03 15:22:20 |
| Package Statistics | |
|---|---|
| Total Downloads: | 685 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 1 |
| Total Watchers: | 1 |
| Total Forks: | 1 |
| Total Open Issues: | 0 |
In the teamwork always have some different api response, laravel-respond-format integrate some common response to laravel helper, make this to be more simpler and clear.
$ composer require maras0830/laravel-respond-format ^v2.0
or
"require": {
"maras0830/laravel-respond-format": "^v2.0" // Add this line
}
return not_found();
Example: Data not fount response
{
"error": {
"message": "Data not found.",
"code": 404,
"type": "not_found"
}
}