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