rekalogika/file-symfony-bridge
最新稳定版本:2.3.0
Composer 安装命令:
composer require rekalogika/file-symfony-bridge
包简介
Provides integrations for Rekalogika FileInterface with Symfony HttpFoundation, Form, and Validator.
README 文档
README
Provides integrations for Rekalogika FileInterface with Symfony HttpFoundation, Form, and Validator.
Features
- Adapters to convert HttpFoundation
Fileobjects to aFileInterfaceand vice versa, with special handling forUploadedFile. FileResponsefor streaming aFileInterfaceto the client web browser.FileTypeform that works withFileInterfaceobjects.- A form transformer
FileTransformerthat you can add to an existing SymfonyFileTypefields so that it gives us aFileInterfaceinstead of aUploadedFileobject. - A form extension
FileTypeExtensionthat you can optionally register to automatically convert all the existing SymfonyFileTypeso they all give us aFileInterface. - Subclassed
FileValidatorandImageValidatorthat works withFileInterfaceobjects.
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.
统计信息
- 总下载量: 3.28k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2023-09-24