jqhph / dcat-admin

🔥 基于 Laravel 的后台系统构建工具 (Laravel Admin),使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码
http://www.dcatadmin.com
MIT License
3.9k stars 712 forks source link

laravel 11 install dcat-admin fail #2144

Closed leo-yi closed 2 hours ago

leo-yi commented 3 hours ago

Description:

When run php artisan admin:install response: Error

Class name must be a valid object or a string

at vendor/dcat/laravel-admin/src/Console/InstallCommand.php:56

Steps To Reproduce:

php artisan admin:install

capture_241116085147
leo-yi commented 2 hours ago
  • Laravel Version: v11.31.0
  • PHP Version: v8.3.3
  • Dcat Admin Version: 2.*

Description:

When run php artisan admin:install response: Error

Class name must be a valid object or a string

at vendor/dcat/laravel-admin/src/Console/InstallCommand.php:56

Steps To Reproduce:

php artisan admin:install capture_241116085147

you should run first: php artisan admin:publish