Releases: wamesk/laravel-api-response
Releases · wamesk/laravel-api-response
1.2.1
1.2.0
Updated ApiResponse helper
When APP_DEBUG set true:
- Dumps exception using dd() php function
When APP_DEBUG set false:
- Returns "Server error" message (translated to sk, en)
Always:
- Logs exception to log file "storage/logs/errors/{currentDate}.log"
1.1.8
Fixed exception method
1.1.7
Fixed function name typo
1.1.6
Added new function exception()
1.1.5
Added function additionalData in ApiResponse Helper to add additional_data
parameter in response (usage mostly with collection)
1.1.4
Now works with laravel framework 10.0
1.1.3
If status code is 0 changes it to 500 to prevent error
1.1.2
ApiResponse.php changed collection parameter type from mixed to Lengt…
1.1.1
ApiResponse.php added message translation prefix as passable parameter README.md added example of usage