λ composer require -W webman/admin
./composer.json has been created
Running composer update webman/admin --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
To enable extensions, verify that they are enabled in your .ini files:
D:\PHP work\php8.2.7\php.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-fileinfo to temporarily ignore these required extensions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require webman/admin:*" to figure out if any version is installable, or "composer require webman/admin:^2.1" if you know which you need.
composer
命令加上--ignore-platform-reqs
参数