Laravel和所有照明组件最近更新为5.2.*(12/21/2015)。然而,Lumen尚未更新,仍然需要5.1.*组件。
我正试图在Lumen上安装Mail客户端,但我收到了以下错误:
mahdi@HP-EliteBook:/var/www/lumen$ composer require illuminate/mail
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- Can only install one of: illuminate/support[v5.2.0, v5.1.25].
- illuminate/mail v5.2.0 requires illuminate/support 5.2.* -> satisfiable by illuminate/support[v5.2.0].
- Installation request for illuminate/mail 5.2 -> satisfiable by illuminate/mail[v5.2.0].
- Installation request for illuminate/support == 5.1.25.0 -> satisfiable by illuminate/support[v5.1.25].
Installation failed, reverting ./composer.json to its original content.
如何在此微框架上安装Mail
?
由于您没有指定要安装的照明/邮件的版本,它尝试安装最新版本(5.2)。您需要5.1版本:
composer require illuminate/mail:5.1.*