Can set auto_connect from .env file
Can set auto_connect from .env file

You can set the option auto_connect to true/false from the Laravel .env file with ADLDAP_AUTO_CONNECT=true
Adldap2/Adldap2-laravel