title: Laravel artisan programmatically running command with any parameter without key
body: <p>In my application
  , i would like to simulate php artisan command outside CLI, in which i am doing it inside controller.</p>
  
  <p>I am able to get it running with:</p>
  
  <pre><code>$execute = Artisan::call($commandPart[0], [
          'companyId' =&gt; $commandPart[1]
  ]);
  </code></pre>
  
  <p>However, it is working if i am specifying it's key for the parameter.
  Meanwhile, what i am trying to achieve is to pass in list of command without keyed parameter, as i want it to be flexible.</p>
  
  <p>I tried,</p>
  
  <pre><code>$execute = Artisan::call($commandPart[0], [
      $commandPart[1]
  ]);
  </code></pre>
  
  <p>and </p>
  
  <pre><code>$command = 'organization:tree_readjust 1';
  $execute = Artisan::call($command);
  </code></pre>
  
  <p>However this both scenario will produce error. 
  Any solution for this?</p>
  
  <p>Thank you before.</p>