PHP code example of lucky-saini / laravel-basic-authentication

1. Go to this page and download the library: Download lucky-saini/laravel-basic-authentication 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/ */

    

lucky-saini / laravel-basic-authentication example snippets


"lucky-saini/laravel-basic-authentication": "~1.0.2"

Luckys\BasicAithentication\BasiAuthenticationServiceProvider::class,

php artisan luckys:auth [scaffold_for]

php artisan vendor:publish --provider="Luckys\BasicAithentication\BasiAuthenticationServiceProvider"

  'admin_users' => [
    'provider' => 'users',
    'email' => 'admin.auth.emails.password',
    'table' => 'password_resets',
    'expire' => 60,
  ],

  'passwords' => [
    'users' => [......],

    'admin_users' => [
        'provider' => 'users',
        'email' => 'admin.auth.emails.password',
        'table' => 'password_resets',
        'expire' => 60,
    ],
  ],