Create Laravel Project Step by Step Windows XAMPP

Jan 13, 2022



Create Project using below command

composer create-project –-prefer-dist laravel/laravel NameOfProject “Version”

After Execute Above Command project willl create in xampp htdocs folder

Then open the link in browser .It will show like above image.

We need to update .htaccess file

<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ ^$1 [N]

RewriteCond %{REQUEST_URI} (\.\w+$) [NC]
RewriteRule ^(.*)$ public/$1

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ server.php


After Updating Able To See website