I can't install the software. When I run composer require directorytree/ldaprecord-laravel I get this error: LdapRecord\Configuration\ConfigurationException : Option auto_connect does not exist.
Installation fails and composer.json gets reverted to its original status.
Run composer require directorytree/ldaprecord-laravel
Hi @alameda-intranet,
You must be migrating from Adldap2-Laravel? You need to delete your ldap.php file and republish it using php artisan vendor:publish
If you have done this, you must have added the auto_connect key manually, but this option has been removed as it is no longer necessary. LDAP connections are now created upon use, rather than upon boot - as it was with Adldap2-Laravel.
Most helpful comment
Hi @alameda-intranet,
You must be migrating from Adldap2-Laravel? You need to delete your
ldap.phpfile and republish it usingphp artisan vendor:publishIf you have done this, you must have added the
auto_connectkey manually, but this option has been removed as it is no longer necessary. LDAP connections are now created upon use, rather than upon boot - as it was with Adldap2-Laravel.