1. Method No. 1
- create Project (Composer create-project --prefer-dist laravel/laravel ProjectName
- Composer require laravel/jetstream
- php artisan jetstream:install livewire
- npm install
- npm run dev
- now create your database and put that database name in env file
- php artisan migrate
2. How make setting for reset Password
- env file setting be like:
- MAIL_MAILER=smtpMAIL_HOST=smtp.gmail.comMAIL_PORT=465MAIL_USERNAME=samirhusen18@gmail.comMAIL_PASSWORD=here is your gmail passwordMAIL_ENCRYPTION=sslMAIL_FROM_ADDRESS=samirhusen18@gmail.comMAIL_FROM_NAME="${APP_NAME}"
- config /mail.php setting be like:
- 'from' => ['address' => env('MAIL_FROM_ADDRESS', 'samirhusen18@gmail.com'),'name' => env('MAIL_FROM_NAME', 'MeroHisab'),],
gmail setting must be like:
- click on gmai profile
- click manage your gmail account
- click on security
- less secure app must be "ON"
0 Comments