Fatal error: Class 'Dotenv\Dotenv' not found in
<p>Hello guys I am so confused I dont know what I am doing wrong this told me 
<strong>Fatal error: Class 'Dotenv\Dotenv' not found in</strong></p>

<p>But I dont understand why..</p>

<pre><code>$dotenv = new \Dotenv\Dotenv(dirname(dirname(dirname(dirname(__DIR__)))));
$dotenv-&gt;load();
</code></pre>

<p>My structure is the next and in the file index.php is where I am calling Dotenv also I used use Dotenv\Dotenv; but it doesnt work too.</p>

<p><a href="https://i.stack.imgur.com/ArMTJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ArMTJ.png" alt="enter image description here"></a></p>