Done!

Laravel 123


Install Composer via Curl

 curl -sS https://getcomposer.org/installer | php

To make composer globally available, place all the executable inside bin folder
sudo mv composer.phar /usr/local/bin/composer

Create Laravel 5 Project via composer

composer create-project laravel/laravel learning-laravel
[
 larave/laravel = package/vendor
 learning-laravel = project name
]

You can use laravel built in server to access the site

- cd learning-laravel
 - php -S localhost:8888 -t public
- on browser type: http://localhost:8888

Dump Autoload

composer dump-autoload
composer dump-autoload -o [generate optimized autoload files] 

Finally, change permission to the storage folder and install composer if required

- sudo chmod -R o+w storage
- sudo chmod 777 -R storage
- composer install [if package on composer.json]
Have I missed anything? Give your feedback below.