laravel 执行"php artisan admin:make UserController --model=App\User"时,报错" Class ‘Doctrine\DBAL\Driver\PDOMySql\Driver’ not found "
解决办法:
composer require doctrine/dbal 2.12.1
再次执行"php artisan admin:make UserController --model=App\\User",即可!
注意安装的doctrine/dbal版本不要太高就行了