Getcomposer

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

sudo mv composer.phar /usr/local/bin/composer
cd /home/cabox/workspace/
sudo apt-get install php-mbstring
sudo apt-get install php-xml

composer create-project laravel/laravel miweb –prefer-dist
cd /home/cabox/workspace/miweb/
php artisan key:generate