使用laravel 5样板时出错

raj*_*ans 0 php laravel composer-php laravel-5

我想使用 https://github.com/rappasoft/laravel-5-boilerplate作为我的Laravel项目的起点,但是当我这样做时,我会composer install收到以下错误.

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 guzzle/guzzle v3.9.3 -> satisfiable by guzzle/guzzle[v3.9.3].
    - guzzle/guzzle v3.9.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 2
    - Installation request for stripe/stripe-php v1.18.0 -> satisfiable by stripe/stripe-php[v1.18.0].
    - stripe/stripe-php v1.18.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
  Problem 3
    - guzzle/guzzle v3.9.3 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - league/oauth1-client 1.5.0 requires guzzle/guzzle 3.* -> satisfiable by guzzle/guzzle[v3.9.3].
    - Installation request for league/oauth1-client 1.5.0 -> satisfiable by league/oauth1-client[1.5.0].
Run Code Online (Sandbox Code Playgroud)

怎么解决这个?

mda*_*mia 6

你错过了 php5-curl - CURL module for php5

sudo apt-get install php5-curl
Run Code Online (Sandbox Code Playgroud)

并尝试再次安装.