/LdapRecord-Laravel-Example-Project

Example Laravel project for LdapRecord-Laravel with the Forum Systems Online LDAP Test Server.

Primary LanguagePHP

LdapRecord-Laravel Example Project

Example Laravel project for LdapRecord-Laravel with the Forum Systems Online LDAP Test Server.

Setup

  1. Clone the project
  2. Change in the project folder
  3. Run composer install
  4. Copy the .env.example to .env
  5. Setup the your database in the .env file
  6. Add these lines at the end of the .env file
LDAP_LOGGING=true
LDAP_CONNECTION=default
LDAP_HOST=ldap.forumsys.com
LDAP_USERNAME=null
LDAP_PASSWORD=null
LDAP_PORT=389
LDAP_BASE_DN="dc=example,dc=com"
LDAP_TIMEOUT=5
LDAP_SSL=false
LDAP_TLS=false
  1. Run php artisan key:generate
  2. Run php artisan migrate
  3. Open site and login with username einstein and password password (Check Online LDAP Test Server for more information of the Online LDAP Test Server)

Thanks