vich / uploader-bundle
Ease file uploads attached to entities
Installs: 19 713 524
Dependents: 144
Suggesters: 17
Security: 0
Stars: 1 854
Watchers: 41
Forks: 519
Open Issues: 61
Type:symfony-bundle
Requires
- php: ^8.1
- ext-simplexml: *
- doctrine/persistence: ^3.0
- jms/metadata: ^2.4
- symfony/config: ^5.4 || ^6.0 || ^7.0
- symfony/console: ^5.4 || ^6.0 || ^7.0
- symfony/dependency-injection: ^5.4 || ^6.0 || ^7.0
- symfony/event-dispatcher-contracts: ^3.1
- symfony/http-foundation: ^5.4 || ^6.0 || ^7.0
- symfony/http-kernel: ^5.4 || ^6.0 || ^7.0
- symfony/mime: ^5.4 || ^6.0 || ^7.0
- symfony/property-access: ^5.4 || ^6.0 || ^7.0
- symfony/string: ^5.4 || ^6.0 || ^7.0
Requires (Dev)
- ext-sqlite3: *
- dg/bypass-finals: ^1.8
- doctrine/doctrine-bundle: ^2.7
- doctrine/mongodb-odm: ^2.4
- doctrine/orm: ^2.13
- knplabs/knp-gaufrette-bundle: dev-master
- league/flysystem-bundle: ^2.4 || ^3.0
- league/flysystem-memory: ^2.0 || ^3.0
- matthiasnoback/symfony-dependency-injection-test: ^5.1
- mikey179/vfsstream: ^1.6.11
- phpunit/phpunit: ^9.6
- symfony/asset: ^5.4 || ^6.0 || ^7.0
- symfony/browser-kit: ^5.4 || ^6.0 || ^7.0
- symfony/css-selector: ^5.4 || ^6.0 || ^7.0
- symfony/doctrine-bridge: ^5.4 || ^6.0 || ^7.0
- symfony/dom-crawler: ^5.4 || ^6.0 || ^7.0
- symfony/form: ^5.4 || ^6.0 || ^7.0
- symfony/framework-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/phpunit-bridge: ^7.0
- symfony/security-csrf: ^5.4 || ^6.0 || ^7.0
- symfony/translation: ^5.4 || ^6.0 || ^7.0
- symfony/twig-bridge: ^5.4 || ^6.0 || ^7.0
- symfony/twig-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/validator: ^5.4 || ^6.0 || ^7.0
- symfony/var-dumper: ^5.4 || ^6.0 || ^7.0
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
- yoast/phpunit-polyfills: ^2.0
Suggests
- doctrine/doctrine-bundle: For integration with Doctrine
- doctrine/mongodb-odm-bundle: For integration with Doctrine ODM
- doctrine/orm: For integration with Doctrine ORM
- doctrine/phpcr-odm: For integration with Doctrine PHPCR
- knplabs/knp-gaufrette-bundle: For integration with Gaufrette
- league/flysystem-bundle: For integration with Flysystem
- liip/imagine-bundle: To generate image thumbnails
- oneup/flysystem-bundle: For integration with Flysystem
- symfony/asset: To generate better links
- symfony/form: To handle uploads in forms
- symfony/yaml: To use YAML mapping
Conflicts
- doctrine/annotations: <1.12
- league/flysystem: <2.0
- dev-master / 2.x-dev
- v2.5.0
- v2.4.3
- v2.4.2
- 2.4.1
- 2.4.0
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-beta1
- 1.x-dev
- 1.23.1
- 1.23.0
- 1.22.0
- 1.21.1
- 1.21.0
- 1.20.0
- 1.19.1
- 1.19.0
- 1.18.0
- 1.17.1
- 1.17.0
- 1.16.1
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.2
- 1.13.1
- 1.13.0
- 1.12.1
- 1.12.0
- 1.11.0
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- v0.14.0
- v0.13.1
- v0.13.0
- v0.12.0
- v0.11.3
- v0.11.2
- v0.11.1
- v0.11.0
- v0.10.0
- v0.9.0
- v0.8.1
- v0.8.0
- v0.7.0
- v0.6.0
- v0.5.1
- v0.5.0
- v0.4.0
- v0.3.1
- v0.3.0
This package is auto-updated.
Last update: 2024-12-11 12:37:45 UTC
README
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:
If upgrading from a previous version, also check:
Contributing
See the CONTRIBUTING file.
License
See the bundled LICENSE file.