PHP code example of robrogers3 / laraldap-auth

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

    

robrogers3 / laraldap-auth example snippets


robrogers3\laradauth\LdapAuthServiceProvider::class,

        /*
         * Package Service Providers...
         */
        robrogers3\laradauth\LdapAuthServiceProvider::class,
        robrogers3\laradauth\HashServiceProvider::class,

    'driver' => 'aes',

    //more config here

    'aes' => [
        'key' => 'shared-secret-key'
    ]

            $table->string('user_name');

    'ldap' => [
        'create-user-name' => true
    ]
bash
php artisan make:auth

bash
php artisan migrate
bash
php artisan vendor:publish --force #force cause we override those in make auth.