VichUploaderBundle

一个简单的 Symfony 包,用于简化带有 ORM 实体和 ODM 文档的文件上传。「A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.」

Github星跟蹤圖

VichUploaderBundle

Build Status
Total Downloads
Latest Unstable Version
Latest stable Version

The VichUploaderBundle is a Symfony bundle that attempts to ease file
uploads that are attached to ORM entities, MongoDB ODM documents, or PHPCR ODM
documents.

  • Automatically name and save a file to a configured directory
  • Inject the file back into the entity or document when it is loaded from the datastore as an
    instance of Symfony\Component\HttpFoundation\File\File
  • Delete the file from the file system upon removal of the entity or document from the datastore
  • Templating helpers to generate public URLs to the file

All of this functionality is fully configurable to allow for app-specific customization.

Documentation

For usage documentation, see:

docs/index.md

If upgrading from a previous version, also check:

UPGRADE.md

Contributing

See the CONTRIBUTING file.

License

See the bundled LICENSE file.

主要指標

概覽
名稱與所有者dustin10/VichUploaderBundle
主編程語言PHP
編程語言PHP (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2011-12-01 22:18:22
推送於2025-09-26 07:29:07
最后一次提交2025-09-24 18:35:48
發布數103
最新版本名稱v2.8.1 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數1.9k
關注者數37
派生數520
提交數1.3k
已啟用問題?
問題數980
打開的問題數54
拉請求數449
打開的拉請求數6
關閉的拉請求數113
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?