Laravel Installation

Laravel is one of the popular PHP framework now. There are many ways you can able to install the laravel framework. But the following are two important laravel installation methods

  • Laravel Installer
  • Composer

To setup Laravel, it requires following things in server

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

Laravel uses Composer to manage its dependencies. So, before installing Laravel, you have to install the Composer in your server.

Laravel Installer

Following is command to install `Laravel Installer` using composer

 composer global require "laravel/installer"  

Place the $HOME/.composer/vendor/bin directory in your $PATH for laravel executables.
Following is command to create project using Laravel Installer

 laravel new blog  



Following is command to create project using composer

 composer create-project --prefer-dist laravel/laravel myappname  

Sarav Author


  • saga

    (June 22, 2023 - 12:19 pm)

    This does interest me

Leave a Reply

Your email address will not be published. Required fields are marked *