short-edition / uploader-bundle
Ease file uploads attached to entities
Installs: 512
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 520
Type:symfony-bundle
Requires
- php: ^8.1
- ext-simplexml: *
- doctrine/persistence: ^3
- jms/metadata: ^2.4
- symfony/config: ^5.4 || ^6.0
- symfony/console: ^5.4 || ^6.0
- symfony/dependency-injection: ^5.4 || ^6.0
- symfony/event-dispatcher-contracts: ^3.0
- symfony/http-foundation: ^5.4 || ^6.0
- symfony/http-kernel: ^5.4 || ^6.0
- symfony/mime: ^5.4 || ^6.0
- symfony/property-access: ^5.4 || ^6.0
- symfony/string: ^5.4 || ^6.0
Requires (Dev)
- ext-sqlite3: *
- dg/bypass-finals: ^1.3
- doctrine/doctrine-bundle: ^2.7
- doctrine/mongodb-odm: ^2.4
- doctrine/orm: ^2.13
- knplabs/knp-gaufrette-bundle: dev-master
- league/flysystem-bundle: ^2.3
- league/flysystem-memory: ^2.0
- matthiasnoback/symfony-dependency-injection-test: ^4.3
- mikey179/vfsstream: ^1.6.8
- phpunit/phpunit: ^9.5
- symfony/asset: ^5.4 || ^6.0
- symfony/browser-kit: ^5.4 || ^6.0
- symfony/css-selector: ^5.4 || ^6.0
- symfony/doctrine-bridge: ^5.4 || ^6.0
- symfony/dom-crawler: ^5.4 || ^6.0
- symfony/form: ^5.4 || ^6.0
- symfony/framework-bundle: ^5.4 || ^6.0
- symfony/phpunit-bridge: ^6.2
- symfony/security-csrf: ^5.4 || ^6.0
- symfony/translation: ^5.4 || ^6.0
- symfony/twig-bridge: ^5.4 || ^6.0
- symfony/twig-bundle: ^5.4 || ^6.0
- symfony/validator: ^5.4 || ^6.0
- symfony/var-dumper: ^5.4 || ^6.0
- symfony/yaml: ^5.4 || ^6.0
Suggests
- doctrine/annotations: If your project use doctrine-bundle:>=2.8, this package is required to use annotations or attributes
- 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
This package is not auto-updated.
Last update: 2023-02-21 12:55:31 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.