vich/uploader-bundle

Ease file uploads attached to entities

Package info

github.com/dustin10/VichUploaderBundle

Type:symfony-bundle

pkg:composer/vich/uploader-bundle

Statistics

Installs: 27 517 001

Dependents: 151

Suggesters: 19

Stars: 1 904

Open Issues: 50

v3.0.0-rc3 2026-01-24 15:37 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

Replaces

None

MIT 4b9e8464279418acca5946c8ad5d3ceab5dd354c

  • Dustin Dobervich <ddobervich.woop@gmail.com>
  • Massimiliano Arione <garakkio.woop@gmail.com>
  • The Symfony Community

uploadfile uploads

This package is auto-updated.

Last update: 2026-06-26 06:57:06 UTC


README

👁 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.