jonathan-martz/lumen-exeception-to-json

Php Lumen handle api exception.

Installs: 288

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 1

pkg:composer/jonathan-martz/lumen-exeception-to-json

0.3.6 2020-03-27 20:27 UTC

README

Installations

update App/Execption/Handler

public function render($request, Exception $e){
    return $this->ExceptionHandler
    ->toJson($request, $e);
}