Skip to content
Fabrizio Cafolla edited this page Dec 24, 2018 · 5 revisions

Let's go

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)

Documentation

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]

meme

Clone this wiki locally