title: laravel php artisan not working
body: <p>I'm working on a project with Laravel. But today suddenly php artisan didn't work anymore. It gives me an error:</p>
  
  <blockquote>
    <p>[Symfony\Component\Debu\Exception\FatalErrorException] syntax error,
    unexpected end of file</p>
  </blockquote>
  
  <p>Already googled a lot but can't realy find an answer. Today I've removed the "public" from my url perhaps it has something to do with that I changed my index.php to this:</p>
  
  <pre><code>require __DIR__.'/local/bootstrap/autoload.php'; 
  </code></pre>
  
  <p>And everything that was in the public folder I moved to the root. </p>