A Laravel 10+ project focused on authentication with email verification, password reset, and queued notifications. This serves as a foundation for future modules like product management.
- Auth (email/password)
- Signup & Login
- Password reset & email verification (queued)
- CSRF protection & validation
- Clone repo & install dependencies
git clone <repo-url>
cd <repo-folder>
composer install
npm install
npm run dev- Environment
cp .env.example .env
php artisan key:generate- Set your DB credentials in
.env - Set
APP_URL=http://127.0.0.1:8000for local dev - Optional: toggle email verification
EMAIL_VERIFICATION=true- Migrate & Seed
php artisan migrate --seed- Queue setup (for email verification & password reset)
php artisan queue:table
php artisan migrate
php artisan queue:workLocal dev: you can use
QUEUE_CONNECTION=syncin.envto skip queue.
- Serve app
php artisan serve- Authentication system with email/password, signup, login, and password reset.
- Email sending uses queued notifications for performance.
- Verification emails are optional (toggle
EMAIL_VERIFICATIONin.env). - CSRF protection and input validation included.
- Modular design for future extension (e.g., product module).
- Follows SOLID principles and separates concerns with services and FormRequests.
- Easy to extend and maintain; ready for production-level improvements.
- Add lazy loading and caching where needed.
- Add unit & feature tests.
- Add logging & error monitoring tools.