title: authorization of app using pinterest api php and create board
body: <p>i am using dirkgroenen library php for authorization of my app and create board 
  which i downloaded from here 
  <a href="https://github.com/dirkgroenen/Pinterest-API-PHP" rel="nofollow noreferrer">https://github.com/dirkgroenen/Pinterest-API-PHP</a>
  evry time i run this code it gives me uncaught error about the line:8 
  Fatal error: Uncaught Error: Class 'Dotenv\Dotenv' not found in C:\xampp\htdocs\pin\vendor\demo\boot.php:8 
  here is the code for boot.php</p>
  
  <pre><code> &lt;?php
      ini_set('display_errors', 1);
      ini_set('display_startup_errors', 1);
      error_reporting(E_ALL);
  
      require ("../autoload.php");
  
      $dotenv = new Dotenv\Dotenv(__DIR__);
      $dotenv-&gt;load();
  
      $pinterest = new 
      DirkGroenen\Pinterest\Pinterest(getenv("4915445646307112766"), 
      getenv("1ae8683b277958bd9739cedb0f0b1434eee42176dd3d44cbf44981f9acaadd94"));
  
        if (isset($_GET["code"])) 
          {
            $token = $pinterest-&gt;auth-&gt;getOAuthToken($_GET["code"]);
            $pinterest-&gt;auth-&gt;setOAuthToken($token-&gt;access_token);
  
            setcookie("access_token", $token-&gt;access_token);
          }
        else if (isset($_GET["access_token"]))
          {
           $pinterest-&gt;auth-&gt;setOAuthToken($_GET["access_token"]);
  
          } 
        else if (isset($_COOKIE["access_token"])) 
          {
           $pinterest-&gt;auth-&gt;setOAuthToken($_COOKIE["access_token"]);
          } 
        else 
         {
           assert(false);
         }
  
       ?&gt;
  </code></pre>
  
  <p>can anyone please help me to fix it.. i have spent more than 48 hours to resolve this issue..
  any help will be greatly appreciated   </p>