laravel-jsend maintained by richtoms
Description
A JSend wrapper for Laravel
Author
Last update
2019/03/25 22:43
(dev-master)
License
Downloads
2
Tags
Laravel JSend Responses
A package designed to create JSend responses for Laravel. See the JSend specification.
Installation
You can install the package via composer:
composer require richtoms/laravel-jsend
Usage
use RichToms\LaravelJSend\JSendFacade as JSend;
// Using the facade
return JSend::build($data, $statusCode, $headers);
// Using the response macro
return response()->jsend($data, $statusCode, $headers);
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email richard@toms.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.