A simple Symfony2 bundle to ease file uploads with ORM entities and ODM documents.
PHP
Pull request Compare This branch is 596 commits behind dustin10:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Adapter
DependencyInjection
Driver
EventListener
Injector
Mapping
Naming
Resources
Storage
Templating/Helper
Tests
Twig/Extension
vendor
.gitignore
.travis.yml
README.md
UPGRADE.md
VichUploaderBundle.php
composer.json
phpunit.xml.dist

README.md

VichUploaderBundle

Build Status

The VichUploaderBundle is a Symfony2 bundle that attempts to ease file uploads that are attached to ORM entities or 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.

Current limitations:

  • Saving/deleting files to the local filesystem only

Documentation

For usage documentation, see:

Resources/doc/index.md

For license, see:

Resources/meta/LICENSE