我正在尝试安装CakePHP 4.x Authentication 2.x,但在尝试运行此命令时出现此错误
编写器需要“cakephp/身份验证:^2.0”
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires cakephp/authentication 2.0 -> satisfiable by cakephp/authentication[2.0.0].
- cakephp/authentication 2.0.0 requires zendframework/zend-diactoros ^2.0 -> satisfiable by zendframework/zend-diactoros[2.0.0, ..., 2.2.1].
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.2.1.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.2.0.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.5.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.4.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.3.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.2.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.1.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.1.0.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.0.3.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.0.2.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.0.1.
- laminas/laminas-diactoros 2.8.0 conflicts with zendframework/zend-diactoros 2.0.0.
- cakephp/cakephp 4.2.10 requires laminas/laminas-diactoros ^2.2.2 -> satisfiable by laminas/laminas-diactoros[2.8.0].
- cakephp/cakephp is locked to version 4.2.10 and an update of this package was not requested.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
1条答案
按热度按时间xam8gpfp1#
正如Greg施密特提到的,cakephp身份验证的最新版本是2.6版。