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