'@yii/console/commands', ); $id = 'yiic'; $basePath = __DIR__ . '/console'; $application = new yii\console\Application($id, $basePath, $config); $application->run();