尝试安装新的laravel应用程序时遇到版本错误:
$ laravel new hostels3
Crafting application...
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
- Installation request for mockery/mockery 1.4.1 -> satisfiable by mockery/mockery[1.4.1].
- mockery/mockery 1.4.1 requires php ^7.3 || ^8.0 -> your PHP version (7.2.24) does not satisfy that requirement.
我现在不想迁移到PHP 7.3,有没有办法安装更低版本的laravel来满足我的PHP版本7.2.24?如果是,是如何实现的?谢谢!
发布于 2020-07-14 22:47:56
这样您就可以选择要安装的版本
composer create-project laravel/laravel miproyecto "6.*"
https://stackoverflow.com/questions/62897239
复制相似问题