Php 8.1
Database (Mysql/Sqlite)
Queue DB (Redis/Sqlite)
MailPit (To Catch mail sent to client) or u can use service like MailTrap
composer 2.0+ is required
Copy .env.example file to .env
Edit configuration file like
APP_NAME="Deer"
Downloading MailPit (If you want to catch mail on your own)
Download binary file from here https://github.com/axllent/mailpit/releases
Run the binary, it will run over port (1025, 8025)
visit localhost:8025 for viewing mail received
edit .env file to use Mailpit by editing MAIL_MAILER=smtp, MAIL_HOST=localhost, MAIL_PORT=1025
Redis as Driver, Add Configuration
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
QUEUE_CONNECTION=redis
QUEUE_CONNECTION=database
Mysql as db, edit the following config
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=
sqlite as Db , follow these step
create a database.sqlite file inside database folder
Edit config to use sqlite by adding
DB_CONNECTION=sqlite
DB_DATABASE=/mnt/d/queuedeerproject/database/database.sqlite (absolute full path to database). Change it according to
ur
location
Migrate Table Run (There is seeder to seed products in db)
php artisan migrate --seed
Run MailPit in terminal 1 (must be keep running)
Run queue worker to run laravel queue:worker in terminal 2 (must be keep running)
Run Serve (In another terminal)
Visit localhost:8000 to see website
Laravel
Livewire
Vite
Alpine Js
Laravel breeze