Skip to content

Instantly share code, notes, and snippets.

@mohammad-fouladgar
Created February 18, 2022 10:15
Embed
What would you like to do?
<?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