Install Laravel 5

  1. Install “composer”
    curl -sS https://getcomposer.org/installer | php -- --install-dir=bin --filename=composer
  2. Install Laravel
    composer global require laravel/installer:"~1.2"
  3. Add laravel to PATH
    edit ~/.bashrc
    add this line :
    export PATH=$PATH:~/.composer/vendor/bin