Install Laravel on Ubuntu 16.04
Here is a post on how to install Laravel on Ubuntu 16.04 First get the PHP language interpretator:
sudo apt-get install phpThen install and run composer which will take care of packages dependencies:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.phpcopy composer binary file into /sbin directory to be able to run composer from every where.
sudo mv composer.phar /usr/local/sbin/composerinstall two php libraries required for laravel:
sudo apt-get install php-mbstring
sudo apt-get install php-xmlcreate new project called learning-laravel from package named laravel/laravel. The new directory which package would get installed will be called learning-laravel:
composer create-project laravel/laravel learning-laravelgo to the directory
cd learning-laravelstart local listening php server on port 8888 and address localhost(127.0.0.1). Make php interpret all the files within subdirectory public as php executable.
php -S localhost:8888 -t publicOpen a browser on localhost:8888 Congratulations! You have installed a running Laravel project!