open20/open20-attributes
There is no license information available for the latest version (dev-main) of this package.
Attributes module for Open20
dev-main
2025-01-14 09:10 UTC
Requires
- php:>=8.2.0
- open20/open20-microfrontend:^1.0.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Description of the module
Installation
The preferred way to install this extension is through composer.
Either run
`
bash composer require my-custom-module/my-custom-module`
or add
"my-custom-module/my-custom-module": "~1.0"
to the require section of your
composer.json
file.Add module to your main config in common:
```php <?php 'modules' => [ 'my-custom-module' => [ 'class' => 'my\custom\module\Module' ], ], ```
Also, add these lines to your console config:
'controllerMap' => [ 'project-management' => [ 'class' => 'yii\console\controllers\MigrateController', 'migrationPath' => '@my-custom-module/migrations' ], ],
Apply migrations
`
bash php yii migrate/up --migrationPath=@vendor/my-custom-module/my-custom-module/src/migrations`