netlogix / value-object
A collection of common value objects with Doctrine integration
Installs: 299
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.3
- doctrine/dbal: ^4.0
- doctrine/orm: ^3.2
- symfony/uid: ^7.1
Requires (Dev)
- ergebnis/composer-normalize: ^2.42
- rector/rector: ^1.2
Suggests
This package is auto-updated.
Last update: 2024-12-08 09:46:30 UTC
README
This package provides a collection of common value objects with Doctrine integration.
Installation
Install the package via Composer:
composer require netlogix/value-object
Usage
In order to use a value object with Doctrine, it must implement the PersistableValueObject
interface. For this purpose, the value object can, for example, inherit from the abstract classes for common value objects or implement the interface directly.
Acknowledgements
The initial implementation of the type registration with Doctrine was inspired by upscale/doctrine-value-object-bundle.