ipub / doctrine-dynamic-discriminator-map
Dynamic discriminator map for Doctrine2 and Nette Framework
v1.4.0
2021-05-23 21:26 UTC
Requires
- php: >=7.4
- doctrine/orm: ^2.6
- nette/bootstrap: ^3.1
- nette/di: ^3.0
Requires (Dev)
- contributte/console: ^0.9
- mockery/mockery: ^1.4
- nettrine/cache: ^0.3
- nettrine/orm: ^0.8
- ninjify/nunjuck: ^0.3
- ninjify/qa: ^0.12
- pds/skeleton: ~1.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^0.12
- phpstan/phpstan-deprecation-rules: ^0.12
- phpstan/phpstan-doctrine: ^0.12
- phpstan/phpstan-nette: ^0.12
- phpstan/phpstan-strict-rules: ^0.12
- tracy/tracy: ^2.8
README
This extension adds support for dynamic definition of Doctrine discriminator map, so you can easily extend your entities in modules etc.
Installation
The best way to install ipub/doctrine-dynamic-discriminator-map is using Composer:
composer require ipub/doctrine-dynamic-discriminator-map
After that you have to register extension in config.neon.
extensions: dynamicDiscriminatorMap: IPub\DoctrineDynamicDiscriminatorMap\DI\DoctrineDynamicDiscriminatorMapExtension
Documentation
Learn how to use Doctrine dynamic discriminator map in documentation.
Homepage http://www.ipublikuj.eu and repository http://github.com/iPublikuj/doctrine-dynamic-discriminator-map.