报错内容

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires PHP extension ext-intl * but it is missing from your system. Install or enable PHP's intl extension.

To enable extensions, verify that they are enabled in your .ini files:
- D:\phpstudy\Extensions\php\php7.4.3nts\php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

解决办法

在composer.json中增加

"config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true,
    "platform": {
        "ext-intl": "7.4"
    }
}
最后修改:2023 年 07 月 25 日
您的赞赏是对我最大的支持。