08
安裝Bebug
composer require barryvdh/laravel-debugbar
composer require guidovanbiemen/laravel-whoops -dev
設定
After updating composer, add the
ServiceProvider to the providers array in config/app.php
'providers' => [
//debugar
Barryvdh\Debugbar\ServiceProvider::class,
Barryvdh\Debugbar\ServiceProvider::class,
'aliases' => [
//debugar 'Debugbar' => Barryvdh\Debugbar\Facade::class,
.env可以關掉debugbar
安裝whoops
Cmder
composer require guidovanbiemen/laravel-whoops
Now go into your
config/app.php
and add the service provider:'Gvb\Whoops\ServiceProvider',
沒有留言:
張貼留言