some test extension
The preferred way to install this extension is through composer.
Add custom repo
"repositories":[
{
"type": "git",
"url": "https://github.com/Booggmz/ext-immo.git"
}
]to the require section of your composer.json file.
Then install extension
php composer.phar require booggmz/yii2-immo:dev-masterThen configure your yii2: console.php
'bootstrap' => ['log', 'immo'],
...
'components' => [
'queueProcessor' => ['class' => \Booggmz\Immo\components\QueueProcessor::class],
'operatorProcessor' => ['class' => \Booggmz\Immo\components\OperatorProcessor::class],
],
...
'modules' => [
'immo' => [
'class' => Booggmz\Immo\Module::class
],
],Then run migrations
$ ./yii migrate --migrationPath=@vendor/booggmz/yii2-immo/src/migrations/Once the extension is installed, you can use it over console:
./yii help immo