PHP code example of anwar / auto-login

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

    

anwar / auto-login example snippets


// config/autologin.php
return [
    'users_table'   => 'users',
    'redirect_to'   => '/',
    '
bash
composer vendor:publish --tag=config --provider="Anwar\AutoLogin\AutoLoginServiceProvider"
php artisan migrate