-
Download and Install XAMPP
-
Add XAMPP/php to PATH
-
Open a terminal and then type command below to verify php is installed and added to PATH
php --version
-
Download and Install Composer
-
Make sure to Add to PATH when asked
-
Open a terminal and then type command below to verify composer is installed and added to PATH
composer --version
-
Download and install nvm for windows. Pick the latest nvm-setup.exe
-
Make sure to Add to PATH when asked
-
Open a terminal and then type this command to install latest Node LTS
nvm install lts nvm use lts
-
Make sure to node and npm is installed
node --version npm --version
-
Use this command to create the project, replace example-app with your project name
composer create-project laravel/laravel example-app
-
Run this command to serve laravel project
php artisan serve
-
Install Laravel Breeze, you can choose the stack of your preference. Up to you which stack: Blade template for the frontend, or Inertia with React/Vue or you can also choose Livewire
php artisan breeze:install
-
Run migration
php artisan migrate
-
Install node dependecies (for Inertia with React or Vue)
npm install
-
Compile frontend assests
npm run dev