Download the PHP package wboyz/laravel-api-responses without Composer
On this page you can find all versions of the php package wboyz/laravel-api-responses. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wboyz/laravel-api-responses
More information about wboyz/laravel-api-responses
Files in wboyz/laravel-api-responses
Download wboyz/laravel-api-responses
More information about wboyz/laravel-api-responses
Files in wboyz/laravel-api-responses
Vendor wboyz
Package laravel-api-responses
Short Description Api response helper for Laravel.
License MIT
Homepage https://github.com/wboyz/laravel-api-responses
Package laravel-api-responses
Short Description Api response helper for Laravel.
License MIT
Homepage https://github.com/wboyz/laravel-api-responses
Please rate this library. Is it a good library?
Informations about the package laravel-api-responses
Laravel API Responses
This is a helper package based on the Laracasts Incremental APIs tutorial series for returning correctly formed json responses for API calls.
Installation
Require this package with composer:
After updating composer, add the ServiceProvider to the providers array in config/app.php:
Laravel 5.x:
If you want to use the facade, add this to your facades in app.php:
Usage
You can return responses using the Facade (when added), using the supported methods:
You can now return responses using the global helper function wresponse:
All versions of laravel-api-responses with dependencies
PHP Build Version
Package Version
The package wboyz/laravel-api-responses contains the following files
Loading the files please wait ....