Skip to content

Instantly share code, notes, and snippets.

@mohammad-fouladgar
Created February 18, 2022 10:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohammad-fouladgar/802830fcde11e557b91ce0cf8eb8b78f to your computer and use it in GitHub Desktop.
Save mohammad-fouladgar/802830fcde11e557b91ce0cf8eb8b78f to your computer and use it in GitHub Desktop.
<?php
namespace App\Models;
use Fouladgar\OTP\Concerns\HasOTPNotify;
use Fouladgar\OTP\Contracts\OTPNotifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable implements OTPNotifiable
{
use Notifiable;
use HasOTPNotify;
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment