title: laravel use artisan in custom file
body: <p>I'm working on direct admin and in directadmin cronjobs you can just run files.
  then i try to create a file like cron.php in public and use my cammands like this :</p>
  
  <pre><code>&lt;?php
  require __DIR__.'/../bootstrap/autoload.php';
  $app = require_once __DIR__.'/../bootstrap/app.php';
  \Artisan::call('newsletter:send');
  </code></pre>
  
  <p>and when my cron run i have this error : </p>
  
  <blockquote>
    <p>Fatal error: Uncaught Error: Class 'Artisan' not found in</p>
  </blockquote>
  
  <p>how can i use Or Import Artisan class in my custom files?</p>