使用Composer安装Lumen框架时出错

时间:2015-05-11 16:16:47

标签: php laravel composer-php lumen

当我跑步时

sudo composer global require "laravel/lumen-installer=~1.0"

我收到错误(下方),说明无法下载elfet/php-ssh

Changed current directory to /Users/chad/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing elfet/php-ssh (v1.1.0)
    Downloading: Connecting...    Failed to download elfet/php-ssh from dist: The "https://api.github.com/repos/elfet/php-ssh/zipball/439becf180272542cbf154df4856a49dd3c4bf04" file could not be downloaded (HTTP/1.1 404 Not Found)
    Now trying to download from source

我也满足所有服务器要求。有什么想法没有安装?

1 个答案:

答案 0 :(得分:0)

这是elfet / php-ssh软件包未找到的问题,已经解决了

参考:https://github.com/deployphp/deployer/issues/158

或者您可以通过composer create-project安装流明,并参考以下链接有关于安装流明的良好教程并创建一个简单的rest api。

link:http://wsnippets.com/create-rest-api-using-lumen-micro-framework-by-laravel/