PHP code example of wendelladriel / laravel-model-completed
1. Go to this page and download the library: Download wendelladriel/laravel-model-completed library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wendelladriel / laravel-model-completed example snippets
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use WendellAdriel\ModelCompleted\HasCompletionStatus;
class User extends Authenticatable
{
use HasApiTokens, HasFactory, Notifiable, HasCompletionStatus;
protected $fillable = [
'name',
'username',
'email',
'password',
];
protected array $