Install Laravel 9 In Local
Today I am going to explain how you can Install Laravel 9.
Laravel Installation Guide.
Laravel documented the Installation Guide you can read the document to get more details.
- PHP 8.0.2
Install Via Composer
Create First Laravel 9 Project
composer create-project laravel/laravel first-laravel9
Now GO to the Installed Directory
Next to serve application
php artisan serve
You can use Laravel Valet to setup local development environment in macOs.
All Set, Click on served Link and you can see output as below.
The Installation Tutorial is below in the video.
If you face any issue while installing, please comment your query.
Thank You for Reading
Reach Out To me.
TechToolIndia YouTube Channel
Top comments (3)
When I run this command "composer create-project laravel/laravel blog", there is some issues -
In Git.php line 471:
Failed to execute git clone --no-checkout C:/Users/Nann/AppData/Local/Compo
ser/vcs/https---github.com-laravel-laravel.git/ C:\xampp\htdocs\blog --diss
ociate --reference C:/Users/Nann/AppData/Local/Composer/vcs/https---github.
com-laravel-laravel.git/ && cd /D C:\xampp\htdocs\blog && git remote set-ur
l origin -- github.com/laravel/laravel.git && git remote add compos
er -- github.com/laravel/laravel.git
fatal: destination path 'C:\xampp\htdocs\blog' already exists and is not an
Note: But I don't have this directory.
Something is not quite right when I run the first command
[ composer create-project laravel/laravel first-laravel9 ]
In ProjectInstaller.php line 75:
mkdir(): Permission denied
Something is blocking the Permission
And I wouldn't know where and how to adjust this
It's your local computer permission,
The directory you are installing should have proper permissions to create folders.
hope this will help you.