PHP code example of nuewire / users

1. Go to this page and download the library: Download nuewire/users 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/ */

    

nuewire / users example snippets


use Illuminate\Notifications\Notifiable;
use Nuewire\Users\Concerns\NuewireUser;

class User extends Authenticatable
{
    use Notifiable;
    use NuewireUser;
}

$table->unsignedBigInteger('id')->primary();
bash
php artisan vendor:publish --tag=nuewire-users-config
text
config/nuewire/users.php