This page describes some interesting coded solutions within the Yii Framework website.
<?php return [ ... 'controllerMap' => [ 'migrate' => [ 'class' => yii\console\controllers\MigrateController::class, // use custom migration template 'templateFile' => '@app/migrations/migration_template.php', ... ];
The custom formatter overrides the default formatter, adding extra features.
<?php return [ ... 'components' => [ 'formatter' => [ 'class' => app\components\Formatter::class, 'thousandSeparator' => ' ', ], ....
The Import command uses a second DB connection for the source database during import.