Artisan::call(migrate code example Example: artisan call migrate result Artisan::call('migrate'); return Artisan::output();