Install composer Laravel Lumen on the ubuntu14.04

Source: Internet
Author: User
0. Installing composer
Curl-ss Https://getcomposer.org/installer | Php
sudo mv Composer.phar/usr/local/bin/composer

1. Install Laravel and use Composer to download the Laravel installation package:

Composer global require "laravel/installer=~1.1"

2. Install lumen and use the command below to download the lumen command:

Composer global require "laravel/lumen-installer=~1.0"

3. Make sure to place the ~/.composer/vendor/bin path in your path so that the Laravel/lumen execution file will exist on your system.

echo ' Export path= ' $PATH: ~/.composer/vendor/bin "' >> ~/.BASHRC

SOURCE ~/.BASHRC

4. Create a project with Laravel: Laravel New Blog

5. Create a project with lumen: Lumen new lumen
    1. 0. Installing composer
    2. Curl-ss Https://getcomposer.org/installer | Php
    3. sudo mv Composer.phar/usr/local/bin/composer
    4. 1. Install Laravel and use Composer to download the Laravel installation package:
    5. Composer global require "laravel/installer=~1.1"
    6. 2. Install lumen and use the command below to download the lumen command:
    7. Composer global require "laravel/lumen-installer=~1.0"
    8. 3. Make sure to place the ~/.composer/vendor/bin path in your path so that the Laravel/lumen execution file will exist on your system.
    9. echo ' Export path= ' $PATH: ~/.composer/vendor/bin "' >> ~/.BASHRC
    10. SOURCE ~/.BASHRC
    11. 4. Create a project with Laravel: Laravel New Blog
    12. 5. Create a project with lumen: Lumen new lumen
Copy Code
Composer, Lumen, laravel
  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.