Download the PHP package directorytree/ldaprecord-browser without Composer
On this page you can find all versions of the php package directorytree/ldaprecord-browser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download directorytree/ldaprecord-browser
More information about directorytree/ldaprecord-browser
Files in directorytree/ldaprecord-browser
Package ldaprecord-browser
Short Description Browse your LDAP server in your Laravel application.
License MIT
Homepage https://www.ldaprecord.com
Informations about the package ldaprecord-browser
An LDAP browser for your Laravel application or development workflow.
Requirements
- Laravel >= 8.0
- LdapRecord-Laravel >= 2.0
Installation
Before installing LdapRecord-Browser, configure your LDAP connections.
After configuring your connections, install LdapRecord-Browser via composer:
Then, inside of your routes/web.php
file, register Browser's routes via:
Since Browser has an index route (/
), it's recommended to wrap it inside of a group
with a prefix so it does not collide with your applications root index page.
Usage
After you've registered Browser's routes, you're ready to start navigating your directory.
Visit your application at (if running php artisan serve
) http://127.0.0.1:8000/ldap.
You will see a list of connections you have configured:
Click one of the connections and you will be taken to a view of your entire directory, where you may search and view all objects visible by your configured user account:
Configuration
LdapRecord-Browser is configured out of the box for use with Active Directory LDAP servers.
If you're connecting to a different LDAP server, such as OpenLDAP, you may alter the LdapRecord model references Browser utilizes.
To update these references, call LdapRecord\Browser\Browser::models()
inside of your AppServiceProvider::boot()
method:
Note: If you've created your own LdapRecord models, feel free to update these references to those instead.