witify / laravel-json-response
Quickly make JSON responses in Laravel
1.2.0
2021-06-16 03:39 UTC
Requires
- php: ^7.1|^8.0
- laravel/framework: *
Requires (Dev)
- larapack/dd: ^1.0
- phpunit/phpunit: ^7.0
README
Installation
You can install the package via composer:
composer require witify/laravel-json-response
Usage
Add it to your controller:
use Witify\LaravelJsonReponse\JsonTrait; class ApiController extends Controller { use JsonTrait; }
Available methods
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 info@witify.io instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.