Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rekalogika/file-association
[READ-ONLY] Handles the association between Doctrine entities and files using rekalogika/file framework, including from file uploads.
https://github.com/rekalogika/file-association
doctrine download file file-upload filesystem flysystem php symfony symfony-bundle
Last synced: about 1 month ago
JSON representation
[READ-ONLY] Handles the association between Doctrine entities and files using rekalogika/file framework, including from file uploads.
- Host: GitHub
- URL: https://github.com/rekalogika/file-association
- Owner: rekalogika
- License: mit
- Created: 2023-09-24T05:05:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T17:22:31.000Z (about 2 months ago)
- Last Synced: 2024-09-30T16:20:55.192Z (about 2 months ago)
- Topics: doctrine, download, file, file-upload, filesystem, flysystem, php, symfony, symfony-bundle
- Language: PHP
- Homepage: https://rekalogika.dev/file-bundle
- Size: 55.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rekalogika/file-association
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
[rekalogika.dev/file-bundle](https://rekalogika.dev/file-bundle)
## 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](https://github.com/rekalogika/file-src) monorepo.