Setting up a Fresh Laravel Project with Composer

rafiqul
Rafiqul Hasan
Published on Sep, 16 2025 1 min read 0 comments
Text Image

# ๐Ÿš€ Setting up a Fresh Laravel Project with Composer

Laravel is one of the most popular PHP frameworks, and getting started with it is super easy using **Composer**. In just a few steps, you can have a brand-new Laravel project running locally.  

---

Step 1: Install Composer

Make sure Composer is installed on your system. You can check by running:

 

composer -V

 

Step 2: Create a New Laravel Project

Run the following command in your terminal:

 

composer create-project laravel/laravel myapp

 

Here:

laravel/laravel โ†’ tells Composer to fetch the Laravel framework.

myapp โ†’ is your project folder name (you can change it).

This will download Laravel and set up all dependencies automatically.

 

Step 3: Navigate to Your Project

Move into your new Laravel project folder:

 

cd myapp

 

 

Step 4: Run the Development Server

Laravel comes with a built-in server. Start it with:

 

php artisan serve

By default, the app will run at:

๐Ÿ‘‰ http://127.0.0.1:8000

0 Comments