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