Laravel
-
April 21, 2025 14
Laravel 11 is one of the most robust PHP framework that allows developers to create powerful and scalable web applications. Here is how to install Laravel 11 with composer.
Prerequisites to Install Laravel 11:
- PHP: Laravel 11 requires PHP v8.1 or Higher
- Composer: Laravel uses composer to manage its dependencies
- Web server: Apache or Nginx
- Databases: MySQL, PostgreSQL, SQLite, or SQL Server
Steps to Install Laravel 11 using Composer:
Step 1: Install PHP
Ensure your machine has PHP version 8.1 or above. Visit the official website of PHP to obtain the latest PHP version.
You can verify the PHP version by running the following command:
php -vStep 2: Install Composer
Composer is a dependency manager for PHP. If installing Composer on your machine for the first time, visit the official website of Composer and then proceed to download and install Composer.
Run this command to confirm whether the composer is installed:
composer -vStep 3: Install Laravel 11
Now that you have






