Install Laravel on Linux

There are several ways to install the Laravel framework locally, on a Linux machine:

New Website Launch WebhostFace
  1. Using Composer (you can lookup how to install Composer here)
    composer create-project --prefer-dist laravel/laravel {ROOT_DIRECTORY}*
  2. Using Git:
    cd {ROOT_DIRECTORY}
    git clone https://github.com/laravel/laravel.git
    cp .env.example .env
    php artisan key:generate
    composer install

    Using Git you will also have to fill the .env file that we copied with the local settings that you use.

After this Laravel will be installed and accessible for your local server through the /public directory.

Start your online Laravel project with our Laravel Hosting and benefit from easy Composer Installation and guidelines. Now with a new great price as we all know how important is to start your new project without investing a large amount of money!