PHP code example of goedemiddag / auth
1. Go to this page and download the library: Download goedemiddag/auth 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/ */
goedemiddag / auth example snippets
// config/auth.php
'guards' => [
'simple' => [
'driver' => 'session',
'provider' => 'simple',
],
],
'providers' => [
'simple' => [
'driver' => 'gm:simple',
'email' => env('SIMPLE_AUTH_USER'),
'password' => env('SIMPLE_AUTH_PASS'),
],
],