Run artisan command in laravel 5 : <p>I have controller like this</p>

<pre><code> public function store(Request $request)
{
   Artisan::call("php artisan infyom:scaffold {$request['name']} --fieldsFile=public/Product.json");
}
</code></pre>

<p>Show me error </p>

<blockquote>
  <p>There are no commands defined in the "php artisan infyom" namespace.</p>
</blockquote>

<p>When I run this command in CMD it work correctly </p>
