Laravel 8 Instal Composer
composer create-project laravel/laravel:^8.0 example-app
cd example-app
php artisan serve
Shadow
composer create-project laravel/laravel:^8.0 example-app
cd example-app
php artisan serve
Laravel 9* install composer comand
composer create-project laravel/laravel example-app
cd example-app
php artisan serve
composer create-project --prefer-dist laravel/laravel test "8.*"
laravel install on windows
-----------------------------------
1-composer install
https://getcomposer.org/download/
2-laravel install using composer
composer global require laravel/installer
3-create new project
laravel new blog
cd blog
4-serve project to localhost
php artisan serve
curl -s https://laravel.build/app-name | bash
<!-- OR -->
composer create-project --prefer-dist laravel/laravel app-name "8.*"
composer create-project --prefer-dist laravel/laravel ProjectName dev-develop