T echnojs
Already have an account?
login Login


Don't have an account?
group_add Register

Showing suggestions...

Cookies Consent

This site uses cookies to offer you a better browsing experience.

Laravel: Installation

Taylor Otwell created Laravel, a free, modern, open-source full-stack web framework with powerful features based on PHP syntax, MVC pattern & Symfony.

Laravel is a free, modern, open-source full-stack web framework with powerful features based on PHP programming language, MVC pattern, and Symfony. Taylor Otwell created Laravel. It provides a basic starting point for creating your fresh application or project. It takes you to the next-level experience and enhances the career skills of your web developer.

Laravel also provides an amazing way to interact with databases using raw SQL, a fluent query builder, and the Eloquent ORM. Currently Laravel support four databases: MySQL 5.7+, PostgreSQL 9.6+, SQLite 3.8.8+ and SQL Server 2017+. Once you install Laravel on your machine, you can configure your database in .env and config/database.php files.

Basic Requirements

Before installation begins, you must have PHP and Composer installed on your computer devices or virtual machine. Laravel Docs

Laravel version Release date PHP version
4.2 June 1, 2014 ≥ 5.4.0
5.0 February 4, 2015 ≥ 5.4.0
5.1 (LTS) June 9, 2015 ≥ 5.5.9
5.2 December 21, 2015 ≥ 5.5.9
5.3 August 23, 2016 ≥ 5.6.4
5.4 January 24, 2017 ≥ 5.6.4
5.5 (LTS) August 30, 2017 ≥ 7.0.0
5.6 February 7, 2018 ≥ 7.1.3
5.7 September 4, 2018 ≥ 7.1.3
5.8 February 26, 2019 ≥ 7.1.3
6 (LTS) September 3, 2019 ≥ 7.2.0 and ≤ 8.0
7 March 3, 2020 ≥ 7.2.5 and ≤ 8.0
8 September 8, 2020 ≥ 7.3.0 and ≤ 8.0


Open the terminal in your desired location to install a fresh Laravel application and run the following command:

  • Install via composer

    Composer is a dependency manager which deals with PHP packages or libraries.

    composer create-project laravel/laravel project_name
  • Using Laravel Installer

    For the first time on your machine, you need to install the Laravel Installer via Composer:

    composer global require laravel/installer

    This command activates Laravel Installer acts as global Composer dependency.

    Then, every time when you create a new Laravel project you have to run the following command:

    laravel new project_name

Once you have the Laravel application on your machine, jump to the project folder and run the artisan command as shown below: 

cd project_name
php artisan serve

Now, open your web browser at: endpoint. Then, you will be redirected to the default Laravel welcome page.

question_answer Comments
bar_chart Views
people_alt Contributors
category Category workspaces Group
public Visibility
monetization_on Monetisation
checklist Authorization
save Created
today Updated

Any Question / Leave a comment ?
--- Thank you for your attention! ---

Related Posts