PHP code example of daemon144key / laravel-simple-ldap
1. Go to this page and download the library: Download daemon144key/laravel-simple-ldap 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/ */
daemon144key / laravel-simple-ldap example snippets
return [
// ...
'providers' => [
// ...
TuxDaemon\LaravelSimpleLdap\LaravelSimpleLdapServiceProvider::class
],
'aliases' => [
// ...
'LDAP' => TuxDaemon\LaravelSimpleLdap\Services\Facades\LdapService::class,
],
];
php artisan optimize
php artisan vendor:publish --tag=laravel-simple-ldap-config
LDAP::add($rdn, $data);