定制 rekalogika/file-symfony-bridge 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 File objects to a FileInterface and vice versa, with special handling for UploadedFile.
  • FileResponse for streaming a FileInterface to the client web browser.
  • FileType form that works with FileInterface objects.
  • A form transformer FileTransformer that you can add to an existing Symfony FileType fields so that it gives us a FileInterface instead of a UploadedFile object.
  • A form extension FileTypeExtension that you can optionally register to automatically convert all the existing Symfony FileType so they all give us a FileInterface.
  • Subclassed FileValidator and ImageValidator that works with FileInterface objects.

Documentation

rekalogika.dev/file-bundle

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-24