Тестовое задание по запросу Анатолия для Senior php
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist testcoder/yii2-testcoder "*"
or add
"testcoder/yii2-testcoder": "*"
to the require section of your composer.json
file.
Добавить в web/main
'modules' => [
'testcoder' => [
'class' => 'coder\test\testModule',
],
],
Запустить миграцию
yii migrate --migrationPath=@app/vendor/coder.ept/yii2-testcoder/migrations