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
use Dotenv\Dotenv;
require DIR . '/../vendor/autoload.php';
$dotenv = new Dotenv(DIR . "/.."); $dotenv->load();
This is also worked for me. We can Use this.Thank you.