Since we need composer, lets install it.
We have to have installed curl and php-cli on our server.
apt-get install curl
apt-get install php5-cli
Lets now install composer.
curl -sS https://getcomposer.org/installer | php
Lets now move composer to /user/local/bin/composer so we can run it anywhere in the system.
mv composer.phar /usr/local/bin/composer
Inside the folder that we want to put Laravel 5, in my case /home/webroot/domain.com/www2/ lets run
/usr/local/bin/composer create-project laravel/laravel www2 dev-develop
Simple and fast.
Inside the folder, that we installer laravel /home/webroot/domain.com/www2 lets run
php artisan -V
HOORAY! Laravel Framework version 5.0-dev!