-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Fabrizio Cafolla edited this page Dec 24, 2018
·
5 revisions
composer require fabrizio-cafolla/response-http
//Laravel or Lumen
ResponseServiceProvider (register in app)
//Register handler Execptions (LaravelHandler or LumenHandler)
$this->app->singleton(
\Illuminate\Contracts\Debug\ExceptionHandler::class,
\ResponseHTTP\Response\Laravel\Exceptions\.....::class
);
//Use it
use ResponseHTTP\Response\HttpResponse;
use HttpResponse; (Facade alias)
en: https://github.com/FabrizioCafolla/response-http/wiki/Response-http-documentation
it: https://github.com/FabrizioCafolla/response-http/wiki/Documentazione-response-http
If you find a bug or want to contribute, write to [email protected]