PHP code example of artarts36 / ulogin-laravel

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

    

artarts36 / ulogin-laravel example snippets


$app->bind(\ArtARTs36\ULoginLaravel\Contracts\User::class, \App\User::class);

    namespace App;
    
    use ArtARTs36\ULoginLaravel\Support\UserOnULogin;
    use Illuminate\Foundation\Auth\User as Authenticatable;
    
    class User extends Authenticatable implements \ArtARTs36\ULoginLaravel\Contracts\User
    {
        use UserOnULogin;
    }