title: Executing seed command dynamically through controller in Laravel
body: <p>I'm trying to build a small application on <code>Laravel</code> with modular approach, I am having a controller method which seeds the database as per the module/plugin name:</p>
  
  <p>I have something like this:</p>
  
  <pre><code>Artisan::call('db:seed --class=Nitseditor\\Plugins\\'.$pluginName.'\\Databases\\seeds\\InstallSeeder');
  </code></pre>
  
  <p>Whenever I am calling this I am getting this error in my console.</p>
  
  <blockquote>
    <p>Class NitseditorPluginsConfidenceDatabasesseedsInstallSeeder does not exist</p>
  </blockquote>
  
  <p>I don't know why it remove <code>\</code> and concatenate the strings. </p>
  
  <p>How can I achieve this?</p>