2 composer create-project --prefer-dist laravel/laravel aa 9.*
3 cd ./aa/
修改.env数据库
4 composer require dcat/laravel-admin:"2.*" -vvv
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dcat~laravel-admin.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-dcat~laravel-admin~dev.json from cache
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires dcat/laravel-admin 2.*, found dcat/laravel-admin[2.0.0-beta, 2.0.1-beta, 2.0.2-beta, 2.0.3-beta, 2.0.4-beta, 2.0.5-beta, 2.0.6-beta, 2.0.7-beta, 2.0.8-beta, 2.0.9-beta, 2.0.10-beta, 2.0.11-beta, 2.0.12-beta, 2.0.13-beta, 2.0.14-beta, 2.0.15-beta, 2.0.16-beta, 2.0.17-beta, 2.0.18-beta, 2.0.19-beta, 2.0.20-beta, 2.0.21-beta, 2.0.22-beta, 2.0.23-beta, 2.0.24-beta, 2.0.x-dev, 2.1.0-beta, 2.1.1-beta, 2.1.2-beta, 2.1.3-beta, 2.1.4-beta, 2.1.5-beta, 2.1.6-beta, 2.1.7-beta, 2.2.0-beta, 2.2.1-beta, 2.2.2-beta, 2.2.3-beta] but it does not match your minimum-stability.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.