PHP code example of rabianr / laravel-config-based-auth-basic

1. Go to this page and download the library: Download rabianr/laravel-config-based-auth-basic 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/ */

    

rabianr / laravel-config-based-auth-basic example snippets


'credentials' => [
    [ 'user', 'password' ],
],
sh
php artisan vendor:publish --tag="authbasic"