title: Laravel 5 how to include autoload.php
body: <p>I'm trying to include a path to autoload.php which is in</p>
  
  <pre><code>vendor/autoload.php
  </code></pre>
  
  <p>the file trying to access it is in </p>
  
  <pre><code>public/this-file.php
  </code></pre>
  
  <p>I set the path to <code>require_once '../vendor/autoload.php';</code> but it just throws the error - </p>
  
  <pre><code>Warning: require_once(../vendor/autoload.php): failed to open stream: No such file or directory
  
  Fatal error: require_once(): Failed opening required '../vendor/autoload.php' (include_path='.:/opt/php55/lib/php')
  </code></pre>
  
  <p>Does laravel offer a shortcode to access files in the vendor file</p>