title: Web-push-php throwing Class not found exception
body: <p>So I'm trying to set-up the push-notification service in PHP, and I'm using the web-push-php library from MinishLink. But for some unknown reason (to me) its throwing me  <code>Class 'Minishlink\WebPush\WebPush' not found</code>.</p>
  <p>I'm not doing anything different(or fancy right now) and just followed all the steps mentioned in this <a href="https://github.com/web-push-libs/web-push-php" rel="nofollow noreferrer">repo's README.md</a> .</p>
  <p>In the bottom it has FAQs and this issue is also stated (I found it after a couple of hours :( ) and it suggests to add <code>require __DIR__ . '/path-to-my-vendor/autoload.php';</code>. But its not working.</p>
  <p>Example code from the repo (also, this is what I'm trying my luck with, to just set the web-push up!)</p>
  <pre><code>require __DIR__ . '/../vendor/autoload.php';
  use Minishlink\WebPush\WebPush;
  use Minishlink\WebPush\Subscription;
  
  // here I'll get the subscription endpoint in the POST parameters
  // but in reality, you'll get this information in your database
  // because you already stored it (cf. push_subscription.php)
  
  $auth = array(
      'VAPID' =&gt; array(
          'subject' =&gt; 'https://github.com/Minishlink/web-push-php-example/',
          'publicKey' =&gt; file_get_contents(__DIR__ . '/../keys/public_key.txt'), // don't forget that your public key also lives in app.js
          'privateKey' =&gt; file_get_contents(__DIR__ . '/../keys/private_key.txt'), // in the real world, this would be in a secret file
      ),
  );
  
  $webPush = new WebPush($auth);
  $subscription = Subscription::create(json_decode(file_get_contents('php://input'), true));
  
  $report = $webPush-&gt;sendOneNotification(
      $subscription,
      &quot;Hello! &quot;
  );
  
  // handle eventual errors here, and remove the subscription from your server if it is expired
  $endpoint = $report-&gt;getRequest()-&gt;getUri()-&gt;__toString();
  
  if ($report-&gt;isSuccess()) {
      echo &quot;[v] Message sent successfully for subscription {$endpoint}.&quot;;
  } else {
      echo &quot;[x] Message failed to sent for subscription {$endpoint}: {$report-&gt;getReason()}&quot;;
  }
  </code></pre>