alex-oliveira / ao-scrud
Laravel中实现超级C.R.U.D.的资源。
1.0.2
2016-12-01 14:04 UTC
Requires
- php: >=5.5.9
- laravel/framework: 5.*
README
1) 安装
$ composer require alex-oliveira/ao-scrud
2) 配置"config/app.php"文件
'providers' => [
/*
* Vendor Service Providers...
*/
AoScrud\ServiceProvider::class,
],
3) 配置"app/Exceptions/Handler.php"文件
class Handler extends ExceptionHandler
{
use \AoScrud\Core\ScrudHandler;
.
.
.
public function render($request, Exception $exception)
{
return $this->scrudRender($request, $exception);
}
.
.
.
}
使用方法
所有信息请查阅Wiki。