jc-it / yii2-model-magic
Some helper classes to work with models for forms and search.
v2.0.5
2024-03-13 13:54 UTC
Requires
- php: >=8.0.0
- nikic/iter: ^2.2.0
- yiisoft/yii2: ~2.0.19
Requires (Dev)
- captainhook/plugin-composer: ^5.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.2
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.1
- ramsey/conventional-commits: ^1.3
- symfony/console: ^5.4.2
- symplify/easy-coding-standard: ^10.0
README
This extension provides a package that implements some extra models with basic functionality for working with forms and search models.
$ composer require jc-it/yii2-model-magic
or add
"jc-it/yii2-model-magic": "^<latest version>"
to the require
section of your composer.json
file.
Configuration
To use the models, just extend these in your own models.
TODO
- Fix PHPStan, re-add to
captainhook.json
-
{ "action": "vendor/bin/phpstan", "options": [], "conditions": [] },
-
- Add tests
Credits
License
The MIT License (MIT). Please see LICENSE for more information.