Install Laravel on Ubuntu 14.04

Posted: June 26, 2016 in Laravel, Php
Tags: ,

Make sure you have Composer installed on your Ubuntu

curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

 

Download the Laravel

composer global require "laravel/installer"

 

Place the Laravel execution dir ~/.composer/vendor/bin in your PATH

gedit /etc/environment

#Then run the command below for the changes
. /etc/environment

 

Then create your new project with Laravel

laravel new myfirstapp

 

*To check which Laravel version you’re using

php artisan -V

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s