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

README.md

VichUploaderBundle

The VichUploaderBundle is a simple Symfony2 bundle that attempts to ease file uploads that are attached to an entity. The bundle will automatically name and save the uploaded file according to the configuration specified on a per property basis. The bundle also provides templating helpers for generating URLs to the file as well. The file can also be configured to be removed from the file system upon removal of the entity.

Current limitations:

  • Doctrine ORM and MongoDB
  • Saving/deleting files to the local filesystem only
  • Generating a relative url for the file only

Documentation

For usage documentation, see:

Resources/doc/index.md

For license, see:

Resources/meta/LICENSE