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