Home >Backend Development >PHP Tutorial >Install composer laravel lumen on ubuntu14.04
0. Install composer curl -sS https://getcomposer.org/installer | php sudo mv composer.phar /usr/local/bin/composer 1. Install laravel, use Composer to download the Laravel installation package: composer global require "laravel/lumen-installer=~1.1" 2. To install lumen, use the following command to download Lumen command: composer global require "laravel/lumen-installer=~1.0" 3. Please make sure ~/.composer Place the /vendor/bin path in your PATH so that the Laravel/Lumen executable 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
|