noresources / persistence
Doctrine Persistence component utilities
v0.16.0
2024-11-07 20:09 UTC
Requires
- php: >= 7.1
- doctrine/inflector: ^1.4 || ^2.0
- doctrine/instantiator: ^1.5 || ^2.0
- doctrine/persistence: ^3.2
- noresources/http-core: ^2.0
- noresources/reflection: ^1.0
Requires (Dev)
- doctrine/orm: ^2.17
- phpunit/phpunit: >=7.0
- symfony/cache: ^3.4
Suggests
- symfony/cache: For persistent class metadata caching
This package is auto-updated.
Last update: 2025-03-07 23:16:05 UTC
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