title: Call Artisan Command via URL
body: <p>In my route I have</p>
  
  <pre><code>Route::get('artisan/{command}/{param}', 'CacheController@show');
  </code></pre>
  
  <p>And in my controller i have</p>
  
  <pre><code>public function show($id, $param)
  {
      $artisan = Artisan::call($id,['flag'=&gt;$param]);
      $output = Artisan::output();
      return $output;
  }
  </code></pre>
  
  <p>I want to be able to call <code>route:cache</code> and <code>cache:clear</code> by accessing <code>domain.com/artisan/cache/clear</code> or <code>route/cache</code> but when I call them it returned something like this</p>
  
  <blockquote>
    <p>Command "cache" is not defined.</p>
  </blockquote>
  
  <p>It only called cache, not <code>cache:clear</code> what possibility going wrong?</p>