- Run
php artisan make:notification MyResetPassword
to create a Notification ClassMyResetPassword
atapp/Notifications
- add
use App\Notifications\MyResetPassword;
to the User model - Add this method to User model:
public function sendPasswordResetNotification($token)
{
$this->notify(new MyResetPassword($token));
}