rekalogika / file-association
Handles the association between Doctrine entities and files using the rekalogika/file framework, including from file uploads.
Fund package maintenance!
priyadi
Installs: 2 059
Dependents: 0
Suggesters: 1
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- psr/cache: ^2 || ^3
- psr/http-message: ^1.0 || ^2.0
- psr/log: ^2 || ^3
- rekalogika/file-association-contracts: ^2.2.2
- rekalogika/file-contracts: ^2.2.2
- rekalogika/file-null: ^2.2.2
- rekalogika/reconstitutor: ^2.2
- symfony/deprecation-contracts: ^3.1
- symfony/service-contracts: ^3.1
- dev-main / 2.3.x-dev
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.0
- 1.8.9
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
This package is auto-updated.
Last update: 2025-05-09 11:17:17 UTC
README
Handles the association between Doctrine entities and files using the rekalogika/file framework, including from file uploads.
Features
- Requires only a single property in the entity for each associated file.
- File properties are file properties. It is not necessary to store any of the file's properties in the entity associated with the file.
- DX improvement, less micro-management of entity-file relations.
- Reads and writes directly into the file properties, even if private. You are free to have business logic in the getters and setters.
- Doesn't require you to update another property of the entity (
lastUpdated
?) just to make sure the correct Doctrine events will be fired.
Documentation
License
MIT
Contributing
The rekalogika/file-association
repository is a read-only repo split from the
main repo. Issues and pull requests should be submitted to the
rekalogika/file-src monorepo.