add('RetailCrm\\Mg\\Bot\\Test', __DIR__); use Symfony\Component\Dotenv\Dotenv; $dotenv = new Dotenv(); try { $dotenv->load(__DIR__ . '/../.env'); } catch (Exception $exception) { echo "WARNING: Can't load .env file. Using default environment."; }