rekalogika / file-association-entity
Utilities for handling files inside domain entities: EmbeddedMetadata for embedding metadata inside Doctrine entities, AbstractFile for creating one-to-many relations with files, and NullFile to handle cases in domain entities where a file must be present but is missing in the storage backend.
Package info
github.com/rekalogika/file-association-entity
pkg:composer/rekalogika/file-association-entity
Fund package maintenance!
Requires
- php: ^8.2
- doctrine/collections: ^2.0
- psr/http-message: ^1.0 || ^2.0
- rekalogika/doctrine-collections-decorator: ^2.0
- rekalogika/file-contracts: ^2.3
- rekalogika/file-metadata: ^2.3
- rekalogika/file-null: ^2.3
- symfony/translation-contracts: ^3.0
This package is auto-updated.
Last update: 2026-02-22 17:40:33 UTC
README
Utilities for handling files inside domain entities:
EmbeddedMetadatafor embedding metadata inside Doctrine entitiesAbstractFilefor creating one-to-many relations with filesNullFilefor handling cases in domain entities where a file must be present but is missing in the storage backend.
Documentation
License
MIT
Contributing
The rekalogika/file-association-entity repository is a read-only repo split
from the main repo. Issues and pull requests should be submitted to the
rekalogika/file-src monorepo.