You're browsing documentation for an old version.

    View Current

    Installation

    LdapRecord requires the following:

    Requirements
    PHP >= 7.3
    PHP LDAP extension enabled
    An LDAP server (Active Directory, OpenLDAP, FreeIPA etc.)

    LdapRecord uses Composer for installation.

    After installing Composer, run the following command in the root directory of your project:

    composer require directorytree/ldaprecord

    If your application doesn't already require Composer's autoload, you will need to do it manually.

    Insert the following line at the top of your projects PHP script (usually index.php):

    require __DIR__ . '/vendor/autoload.php';
    Generated on March 17, 2024
    Edit on GitHub