#!/usr/bin/env php <?php require(__DIR__ . '/bootstrap.php'); $config = require(__DIR__ . '/config/app.php'); $app = new yii\console\Application($config); $exitCode = $app->run(); exit($exitCode);
info at phpclasses dot org