https://github.com/rekalogika/file-filepond
[READ-ONLY] Upload files using Symfony Form, FilePond, and the rekalogika/file framework
https://github.com/rekalogika/file-filepond
Last synced: 2 months ago
JSON representation
[READ-ONLY] Upload files using Symfony Form, FilePond, and the rekalogika/file framework
- Host: GitHub
- URL: https://github.com/rekalogika/file-filepond
- Owner: rekalogika
- License: mit
- Created: 2023-10-09T15:34:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T10:35:46.000Z (11 months ago)
- Last Synced: 2024-11-28T17:40:50.794Z (10 months ago)
- Language: PHP
- Size: 215 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rekalogika/file-filepond
Opinionated file upload form field powered by FilePond on the client side and
Symfony Form on the server side, using the `rekalogika/file` library.## Features
* Works out of the box without configuration.
* DX improvement, less micro-management of entity-file relations.
* Requires only a single property in the entity for each associated file.
* Having said that, there is an option to replicate the file metadata in the
entity, and it does so without changing how you work with the files.
* Trait and abstract class to ease implementing a one-to-many relation between
an entity and multiple files.
* 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.
* Localization. Show strings in the user's language.
* Adapters for various Symfony components, including HttpFoundation, Form, and
Validator.
* Image resizing filter.
* Temporary URL generation to files.
* Mandatory files (not null for file properties). Substitute the file with a
null object if it is not found in the storage backend.
* Lazy loading for files.
* ZIP download of multiple files.
* Full-featured FilePond-based file upload form.## Documentation
[rekalogika.dev/file-bundle/file-upload-filepond](https://rekalogika.dev/file-bundle/file-upload-filepond)
## License
MIT
## Contributing
The `rekalogika/file-filepond` 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.