LdapRecord aims to provide a simple way to interact with LDAP entries using PHP. The project has released version 2.1.3, which appears to fix an issue that could cause it to send a modify DN request in which the new DN for the target entry would be the same as its current DN.