How to install laravel 9

How to install laravel 9

In this post, we'll show you how to install laravel 9. Before you can install the latest version of laravel, make sure you have the following prerequisites:

  • PHP 8.0.2+
  • MySql
  • Composer

Composer is a package manager for php.

Laravel is a full-stack web application framework that has powerful, beautiful design. A web framework gives a foundation and initial ground for developing your application, enabling you to concentrate on building something incredible while it handles the low-level technicalities.

Install laravel 9 with composer

You can install laravel 9 by creating a new project using composer as in the following instructions.

Open a new command-line interface and and run the following command:

composer create-project laravel/laravel laravel9byexample

Wait for composer to create the project's files and install the dependencies from its registry then run the following commands to serve your laravel 9 application using a local development server:

cd laravel9byexample
php artisan serve


We've seen how to install laravel 9 by creating a new project using composer. In order to provide an amazing developer experience, Laravel includes features like robust dependency injection, a powerful database abstraction layer, queues and scheduled jobs, unit and integration testing, and more.

Laravel is a framework that can adapt with your skills, whether you are beginner to PHP web frameworks or have years of expertise. Laravel 9 assists you in taking your initial steps as a web developer or give you a push as you advance your skills.

  • Date: