Skip to content

Instantly share code, notes, and snippets.

@mohammad-fouladgar
Last active February 1, 2020 07:29
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/c4833dca6859bf2b16349ba7b2989707 to your computer and use it in GitHub Desktop.
Save mohammad-fouladgar/c4833dca6859bf2b16349ba7b2989707 to your computer and use it in GitHub Desktop.
Model Preparation for Must Verify Mobile
<?php
namespace App;
use Fouladgar\MobileVerification\Contracts\MustVerifyMobile as IMustVerifyMobile;
use Fouladgar\MobileVerification\Concerns\MustVerifyMobile;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable implements IMustVerifyMobile
{
use Notifiable, MustVerifyMobile;
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment