#!/usr/bin/env php 'yii-console', 'basePath' => __DIR__ . '/console', 'controllerNamespace' => 'yii\console\controllers', ]); if ($vendorPath !== null) { $application->setVendorPath($vendorPath); } $exitCode = $application->run(); exit($exitCode);