If you are on Windows, use Laragon.
If you are on Mac, use Laravel Valet.
$ composer global require laravel/installer
$ laravel new project-name
- Setup
.env
file- Database Connection
- E-mail
- Production: Any Email Service Provider
- Development: Mailtrap
- Setup Database - create new database
- Create login, register & forget password -
php artisam make:auth && php artisan migrate
Any changes on .env, do run :
php artisan config:clear