rekalogika / file-symfony-bridge
Provides integrations for Rekalogika FileInterface with Symfony HttpFoundation, Form, and Validator.
Fund package maintenance!
priyadi
Installs: 2 068
Dependents: 2
Suggesters: 1
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.2
- rekalogika/file: ^2.2.2
- rekalogika/file-contracts: ^2.2.2
- rekalogika/file-metadata: ^2.2.2
- rekalogika/file-metadata-contracts: ^2.2.2
- symfony/form: ^6.2 || ^7.0
- symfony/http-foundation: ^6.2 || ^7.0
- symfony/validator: ^6.3 || ^7.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:33 UTC
README
Provides integrations for Rekalogika FileInterface with Symfony HttpFoundation, Form, and Validator.
Features
- Adapters to convert HttpFoundation
File
objects to aFileInterface
and vice versa, with special handling forUploadedFile
. FileResponse
for streaming aFileInterface
to the client web browser.FileType
form that works withFileInterface
objects.- A form transformer
FileTransformer
that you can add to an existing SymfonyFileType
fields so that it gives us aFileInterface
instead of aUploadedFile
object. - A form extension
FileTypeExtension
that you can optionally register to automatically convert all the existing SymfonyFileType
so they all give us aFileInterface
. - Subclassed
FileValidator
andImageValidator
that works withFileInterface
objects.
Documentation
License
MIT
Contributing
The rekalogika/file-symfony-bridge
repository is a read-only repo split from
the main repo. Issues and pull requests should be submitted to the
rekalogika/file-src monorepo.