Skip to content
A simple Symfony2 bundle to ease file uploads with ORM entities and ODM documents.
PHP Other
Latest commit a9d9891 @K-Phoen K-Phoen Merge pull request #522 from benoliver999/master
Use double slashes in twig example
Failed to load latest commit information.
Adapter Remove the getClassName() method from the AdapterInterface
Command Add a few commands to display information about uploadable classes an…
DependencyInjection Allow to specify options to namers through the configuration
Event Join the mapping to upload events (fixes #266)
EventListener Compute changeset after updating all fields
Exception Improve the DownloadHandler
Form Add error_bubbliing option
Handler Fix DownloadHandler
Injector Allow the same mapping to be used more than once
Mapping Correct FQCN
Metadata Handle inheritance in MetadataReader::getUploadableFields
Naming PropertyMapping fix
Resources Use double slashes in twig example
Storage Use r instead of r+
Templating/Helper Provide tests for the templating helper
Tests Fix tests for symfony 3.0
Twig/Extension remove deprecation warning while creating twig function
Util Remove the getClassName() method from the AdapterInterface
.gitattributes Add .gitattributes file
.gitignore Created helpful bash script for running tests locally.
.travis.yml I don't want to support PHP 5.4 anymore
CONTRIBUTING.md Various fixes in the CONTRIBUTING section and in the install doc
README.md Provide contribution guidelines
UPGRADE.md Update UPGRADE guide for v0.12.0 to v0.13.0
VichUploaderBundle.php Add support for Propel 1.x
composer.json I don't want to support PHP 5.4 anymore
phpunit.xml.dist Add a few functional tests
runTests.sh Add "prefer-dist" to increase performance of tests

README.md

VichUploaderBundle

Build Status Total Downloads Latest Unstable Version

The VichUploaderBundle is a Symfony2 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.

Something went wrong with that request. Please try again.