composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
? Problem 1
? ? - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
? ? - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
? ? - Installation request for league/flysystem 1.0.53 -> satisfiable by league/flysystem[1.0.53].
? To enable extensions, verify that they are enabled in your .ini files:
? ? - /usr/local/php/etc/php.ini
? You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
出現(xiàn)此錯誤的原因是php.ini中的fileinfo擴展沒有開啟关炼,開啟 extension=php_fileinfo.dll舌剂,再重新執(zhí)行命令安裝就可以了。