Hello guys I am so confused I dont know what I am doing wrong this told me Fatal error: Class \'Dotenv\\Dotenv\' not found in
But I dont understand
For me worked this code:
use Dotenv\Dotenv; require __DIR__ . '/../vendor/autoload.php'; $dotenv = new Dotenv(__DIR__ . "/.."); $dotenv->load();
Instead of this:
require __DIR__ . '/../vendor/autoload.php'; $dotenv = new Dotenv/Dotenv(__DIR__); $dotenv->load();