How to Install Laravel 11 Application?

By Hardik Savani April 16, 2024 Category : Laravel

Hey Folks,

This example is focused on how to install laravel 11 application. This post will give you a simple example of how to install laravel 11 on ubuntu 22.04. if you want to see an example of how to install laravel 11 on windows then you are in the right place. This example will help you install laravel 11 application. Alright, let’s dive into the steps.

If you visit the "packagist" website and explore the "laravel/laravel" packages, you'll find a version labeled "dev-master" at the following URL: https://packagist.org/packages/laravel/laravel#dev-master.

The URL https://packagist.org/packages/laravel/laravel#dev-master provides access to the upcoming version of the "laravel/framework" packages within the "laravel/laravel" package.

Within the "laravel/laravel" package, the included "laravel/framework 11.x-dev" requires the following dependencies:

  • PHP version ≥ 8.2
  • PHPUnit ≥ 10.1
  • Pint
  • Guzzle ≥ 7.2
  • Termwind
  • Collision 7
  • Monolog/Monolog version 3
  • Symfony packages upgraded to 6.3
  • Predis version 2

Install Laravel 11:

To install Laravel 11.0 dev, initiate the usual composer create-project command. Subsequently, you should specify the "dev-develop" version of the "laravel/laravel" package.

composer create-project --prefer-dist laravel/laravel laravel-dev dev-master

laravel/laravel: This package facilitates the installation of Laravel;

laravel-dev: Designates the new directory for your project (modifiable);

dev-master: Represents the upcoming version of Laravel.

Next, you need to run the laravel 11 projects using following command:

php artisan serve

Then, you can open the following url:

http://localhost:8000

You will able to see the preview with the following screen:

Upcoming Features in Laravel 11.x-dev:

I am actively monitoring the official Laravel channel for announcements regarding new features. I will continuously update this list from today until the release date. Here are the latest insights:

In the coming months, we can anticipate:

- PHP 8.3 support

- Laravel Livewire version 3

- Filament version 3

- Saloon version 3

- And more. Stay tuned for further developments.

I hope it can help you...

Shares