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

This package is auto-updated.

Last update: 2024-12-13 15:20:34 UTC


README

codecov Continous integration Packagist Total Downloads Packagist Monthly Downloads GitHub tag (latest by date) Packagist Version

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.