Download the PHP package szabogyula/ldaporm-bundle without Composer
On this page you can find all versions of the php package szabogyula/ldaporm-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download szabogyula/ldaporm-bundle
More information about szabogyula/ldaporm-bundle
Files in szabogyula/ldaporm-bundle
Informations about the package ldaporm-bundle
UcsfLdapOrm
A Symfony bundle that provides ORM over LDAP.
This code was originally based upon Mathieu Goulin's GorgLdapOrmBundle. We are forever indebted to him for providing an excellent base for the work we've continued at UCSF IT Identity & Access Management. Originally we forked GorgLdapOrmBundle but, as our development continued to diverge and added new functionality, we came to the point where it was time to strike out on our own. The UcsfLdapOrm repo was created as that fresh start.
What's changed and/or been added so far:
- Added the
LdapEntity
class. This is a Symfony entity which represents thetop
LDAP object class. - Added many subclasses of
LdapEntity
to describe the object classes fromtop
down toInetOrgPerson
. - Added
Repository::filterByComplex()
which gives the entity manager/repository the ability to filter with custom constructed, complex boolean logic. (See code comment API documentation for details.) - Removed the dependency upon r1pp3rj4ck's TwigstringBundle and replaced it with Symfony 2.6+'s ability to use Twig's new-ish string-as-template functionality.
Installation
Requires PHP5.5+ and Symphony 2.7+
- Add to composer.json
"ucsf/ldaporm": "dev-master"
- Add the bundle to AppKernel.php
new Ucsf\LdapOrmBundle\UcsfLdapOrmBundle()
- Install using composer
$ composer update ucsf/ldaporm-bundle
Documentation
Develop with UcsfLdapOrm
Configure an LDAP service in config.yml
- uri: The URI you need for connecting to the LDAP service.
- __use_tls__: 'true' or 'false' to decide on connecting with TLS
- __bind_dn__: The DN for binding to the LDAP service
- password: The password associated with the given bind DN
- __password_type__:
sha1
orplaintext
. I use plaintext when the URI is LDAPS.
Dependency injection for LDAP Entity Managers and Services
Creating Entities (usually to represent an object class)
Coding the Service
A Controller... to Round it Out
`
To do
Remove need for generic LDAP configConfiguration documentationDevelopment example- Rewrite test suite (In progress...)
- Remove deprecated search results iterator