PHP code example of tomgrohl / laravel-memory-auth-provider

1. Go to this page and download the library: Download tomgrohl/laravel-memory-auth-provider 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/ */

    

tomgrohl / laravel-memory-auth-provider example snippets




return [
    
    //...
    
    'providers' => [
        //...    
        'Tomgrohl\Laravel\Auth\AuthServiceProvider',
        
        // OR
        \Tomgrohl\Laravel\Auth\AuthServiceProvider::class,
    ]
    
    
];


php artisan tomgrohl:hash:password mypassword