jonathan-martz/lumen-exeception-to-json

处理 PHP Lumen API 异常。

0.3.6 2020-03-27 20:27 UTC

README

安装次数

更新 App/Execption/Handler

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