Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.

Get Started Now!

How to install laravel 8 using composer?

To install Laravel 8 using Composer, you can follow these steps:

  1. Ensure you have Composer installed on your system. If you don’t have it yet, you can download and install it from https://www.aiuniverse.xyz/how-to-install-composer-in-windows/ .

2. Once Composer is installed, open your command-line interface or terminal.

3. Create a new Laravel project by running the following command:


composer create-project --prefer-dist laravel/laravel projectName

Replace “projectName” with the desired name for your Laravel project. This command will download and install Laravel along with its dependencies.

4. Navigate into your project’s directory:


cd projectName

5. To start the Laravel development server, run the following command:


php artisan serve

6. You can now access your Laravel application by visiting http://localhost:8000 in your web browser.

That’s it! Laravel 8 should now be successfully installed using Composer, and you can begin building your Laravel application.

Related Posts

How to Deploy a Laravel Project on a Linux Server Using HTDOCS and GitHub – Complete Step-by-Step Guide

Deploying a Laravel project on a Linux server becomes simple when you follow a structured process. In this guide, we will deploy a Laravel project by cloning Read More

Read More

How to Install and Enable GMP Extension in XAMPP PHP on Linux (Step-by-Step Guide)

Introduction If you are using XAMPP PHP on a Linux server and encounter errors like: then this usually means the GMP extension is not installed, not just Read More

Read More

How to Run an HTML Website Alongside a Laravel Project on the Same Server

Running a Laravel application is common for dynamic web platforms, dashboards, and APIs. However, many businesses and developers also want to run a simple HTML website on Read More

Read More
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x