LDAP Framework for PHP

Packages

May 2nd, 2023

LDAP Framework for PHP

LdapRecord is a full-featured Lightweight Directory Access Protocol (LDAP) framework that helps you quickly integrate LDAP into your PHP applications. They recently released V3, and we thought it would be an excellent time to share this package:

LdapRecord includes an Activerecord ORM and ships with Models for popular LDAP directories:

  • ActiveDirectory models: Entry, User, Group, Printer, and more
  • OpenLDAP models: Entry, User, Group, and OrganizationalUnit
  • FreeIPA Models: Entry, User, and Group

Models also support relationships, model accessors and mutators, and a powerful model query builder. In addition to models, this package has other features like:

  • Authentication
  • Fluent filter builders
  • Multi-domain ready
  • Query caching
  • Restoring deleted objecs
  • Event handling and listeners for LDAP actions
  • Logging events
  • Testing support for LDAP
  • And more...

You can get started with this package with the Quickstart guide in the official documentation. Also, check out the source code, whis is available on GitHub.

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.