Simple package used to process responses before returning them to client.
- Run
composer require lukaszaleckas/laravel-responder - Publish
responder.phpconfig:php artisan vendor:publish --tag=laravel-responder
Just inject LaravelResponder\Responder and call buildResponse method.
Additional processors can be registered in responder.php config file.