Fecade Artisan: Rufen Sie Laravel an

//     user \ before Artisan
\Artisan::call('make:sub', [
     'type' => 'origin', 'name' => $name
]);
Mohamad