noresources / persistence
Doctrine Persistence component utilities
v2.12.0
2024-04-28 13:17 UTC
Requires
- doctrine/inflector: ^1.4 || ^2.0
- doctrine/instantiator: ^1.5
- doctrine/persistence: ^3.2
- noresources/ns-php-core: ^2.8
- noresources/ns-php-data: ^2.2
Requires (Dev)
- doctrine/orm: ^2.17
- phpunit/phpunit: >=7.0
- symfony/cache: ^3.4
Suggests
- symfony/cache: For persistent class metadata caching
README
Doctrine Persistence utilities.
Installation
composer require noresources/persistence
Features
- Basic implementation of ClassMetadata with compatibility with Doctrin ORM implementation
- ID generator interface and basic implementations
- Reflection & DocComment-based Mapping driver
- Use DocComment to annotate entities
- Accepts any ClassMetadata implementation
- Compatible with most of Doctrine ORM features
- ClassMetadata factory implementation
- Use mapping driver to load class metadata
- Runtime cache
- Persistent cache using PSR Cache interfaces
- ObjectManager generic implementation
- Object property <-> POD map mapping interface and Reflection-based implementation
- Object sorting interfaces
- PSR Cache utility interfaces
- EventManager utilities