How to Install Laravel 7 On Ubuntu, Windows and macOS

  • Author: Ahmed Bouchefra

Laravel 7 is due to be released on February, 2020 but you can start testing the development version as of this time.

In this post, we'll see how to install the latest Laravel 7 version.

If you go to packagist, and search for “laravel/laravel” packages, you should see a version named dev-develop. This the package that you can use for installing Laravel 7 at this time.

Please note that Laravel 7 requires PHP 7.2.5+

Make sure you have the required PHP version and Composer installed on your machine, next open a new command-line interface and run the following command:

$ composer create-project --prefer-dist laravel/laravel laravel-7-example dev-develop

Wait for Composer to download the project's files and any php dependencies and run the following commands to start a development server:

$ cd laravel-7-example  
$ php artisan serve

Sponsored Links