How To Installer Laravel?

How To Install Laravel Latest Verison(12.x)?

Requirements...

https://www.apachefriends.org/download.html

a) Install XAMPP - Run Apache and MySQL servers to host your Laravel project locally.
b) Configure Database - Use phpMyAdmin (in XAMPP) to create a database for your Laravel app.
c) Run Laravel - Start the Laravel dev server (php artisan serve) or point XAMPP's Apache to your Laravel public folder.

https://getcomposer.org/download/

Install Laravel & Dependencies

https://laravel.com/docs/12.x/installation

NOTE :Once you have started the development server, your application will be accessible in your web browser at http://localhost:8000

Follow the Commands Given below:

(“Run this command only once—it installs Laravel globally, allowing you to use the Laravel installer from any directory.” )

Command 1 

composer global require laravel/installer

No Global Install 

composer create-project laravel/laravel project-name

Check Laravel Installer Version

laravel -v

Command 2

 laravel new example-app 

Command 3

  cd example-app

Command 4

 npm install && npm run build

Command 5

 composer run dev

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top