Send Email Verification With OTP (One Time Password) Menggunakan Laravel
You can fork or clone this project
git clone https://github.com/Scuti-Project/laravel-send-email-OTP.git
cd laravel-8-send-email-OTP
composer install
cp .env.example .env <-- edit db config
ubah MAIL_MAILER di dalam .env menjadi
MAIL_MAILER=smtp
MAIL_HOST=smtp.googlemail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="Nama Aplikasi"
php artisan migrate
Php artisan serve