Skip to content
A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.
PHP HTML Shell
Branch: master
Clone or download
Pull request Compare This branch is 2 commits behind dustin10:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
Adapter
Command
DataCollector
DependencyInjection
Entity
Event
EventListener
Exception
Form
Handler
Injector
Mapping
Metadata
Naming
Resources
Storage
Templating/Helper
Tests
Twig/Extension
Util
.gitattributes
.gitignore
.php_cs
.travis.yml
CONTRIBUTING.md
README.md
UPGRADE.md
VichUploaderBundle.php
composer.json
phpunit.xml.dist
runTests.sh

README.md

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, PHPCR ODM documents or Propel models.

  • 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:

Resources/doc/index.md

If upgrading from a previous version, also check:

UPGRADE.md

Contributing

See the CONTRIBUTING file.

License

See the bundled LICENSE file.

You can’t perform that action at this time.