Install Laravel Framework

16. April 2016 Beginner, Laravel 3
Install Laravel Framework

In this post we will install laravel framework . There are a few system requirements to install laravel framework as stated in laravel official website ,

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Videos: Install Laravel Framework

Install Laravel Framework In Ubuntu:

Install Laravel Framework in Windows:


Double the learning and saving. Buy 1 Get 1 on premium e-degrees

We need composer to install laravel and manage its dependencies, composer can be installed by following the steps in website. It’s better if composer is installed globally instead of locally.

After installing composer, laravel can be installed by running the following command in terminal,

composer global require "laravel/installer"

Setting Composer path for Ubuntu users

After that step, we need to set the path for the composer to make it available system-wide.

So in the terminal, run the following command,

echo 'export PATH="$PATH:$HOME/.config/composer/vendor/bin"' >> ~/.bashrc

Setting Composer path for Windows users

You need to set the composer’s bin folder path in environment variables.

Go to Control Panel > System and Security > System and click Advanced system settings in the left panel.

Install Laravel Framework -
Install Laravel Framework –

Click Environment Variables in the bottom right.

Install Laravel Framework -
Install Laravel Framework –

Edit the Environment Variable PATH and add the following path to it,


Replace {USERNAME} with your username above.

Install Laravel Framework -
Install Laravel Framework –

Next, in the terminal for Ubuntu or command prompt for Windows, run laravel command, it shows all the available commands, options, usage and version of the Laravel installer.

Install Laravel Framework on Ubuntu-
Install Laravel Framework on Ubuntu-

Now, for creating a new project , in the terminal type

laravel new projectname

That’s it we are ready to build something amazing 😉

3 thoughts on “Install Laravel Framework”

  • 1
    marametro on September 8, 2016 Reply

    Thanks, your post awesome

    • 2
      avinash on September 8, 2016 Reply

      Cheers, subscribe to so that you wont miss any posts.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.