oneup / uploader-bundle
This Symfony bundle provides a server implementation for handling single and multiple file uploads using either FineUploader, jQuery File Uploader, YUI3 Uploader, Uploadify, FancyUpload, MooUpload, Plupload or Dropzone. Features include chunked uploads, orphanages, Gaufrette and Flysystem support.
Installs: 5 115 022
Dependents: 30
Suggesters: 2
Security: 1
Stars: 606
Watchers: 28
Forks: 176
Open Issues: 19
Type:symfony-bundle
Requires
- php: ^8.0
- symfony/asset: ^5.4 || ^6.0 || ^7.0
- symfony/event-dispatcher-contracts: ^1.0 || ^2.0 || ^3.0
- symfony/finder: ^5.4 || ^6.0 || ^7.0
- symfony/framework-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/mime: ^5.4 || ^6.0 || ^7.0
- symfony/translation: ^5.4 || ^6.0 || ^7.0
- symfony/translation-contracts: ^1.0 || ^2.0 || ^3.0
- symfony/yaml: ^5.4 || ^6.0 || ^7.0
- twig/twig: ^2.4 || ^3.0
Requires (Dev)
- amazonwebservices/aws-sdk-for-php: 1.5.*
- doctrine/common: ^2.12 || ^3.0
- doctrine/doctrine-bundle: ^2.4
- friendsofphp/php-cs-fixer: ^3.40
- knplabs/gaufrette: ^0.9
- m2mtech/flysystem-stream-wrapper: ^1.0
- oneup/flysystem-bundle: ^4.1
- phpstan/phpstan: ^1.8
- phpunit/phpunit: ^9.5
- symfony/browser-kit: ^5.4 || ^6.0 || ^7.0
- symfony/phpunit-bridge: ^6.0.17 || ^7.0
- symfony/security-bundle: ^5.4 || ^6.0 || ^7.0
- symfony/var-dumper: ^5.4 || ^6.0 || ^7.0
- twistor/flysystem-stream-wrapper: ^1.0
Suggests
- knplabs/knp-gaufrette-bundle: 0.1.*
- m2mtech/flysystem-stream-wrapper: ^1.0 (Required when using Flysystem)
- oneup/flysystem-bundle: ^3.0
- dev-main
- 5.0.1
- 5.0.0
- 4.0.1
- 4.0.0
- 3.2.1
- 3.2.0
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.2.0
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.3
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.2
- v1.3.1
- v1.3.0
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- v0.9.9
- v0.9.8
- v0.9.7
- v0.9.6
- v0.9.5
- v0.9.4
- v0.9.3
- v0.9.2
- v0.9.1
- v0.9.0
- dev-release/3.x
- dev-release/2.2.x
- dev-release/1.9.x
This package is auto-updated.
Last update: 2024-12-04 08:27:29 UTC
README
The OneupUploaderBundle for Symfony adds support for handling file uploads using one of the following JavaScript libraries, or your own implementation.
- Dropzone
- jQuery File Upload
- Plupload
- FineUploader
- FancyUpload (based on MooTools)
- MooUpload (based on MooTools)
- YUI3 Uploader (the YUI library is no longer maintained)
- UploadiFive ($ 5.00)
Features included:
- Multiple file uploads handled by your chosen frontend library
- Chunked uploads
- Support for: Gaufrette / Flysystem / local filesystem
- Provides an orphanage for cleaning up orphaned files
- Supports Session upload progress & cancelation of uploads as of PHP 5.4
- Fully unit tested
Documentation
The entry point of the documentation can be found in the file docs/index.md
Read the documentation for main
Upgrade Notes
- Version 5.0.0 supports now Symfony 7 (kudos to @evertharmeling and @joesenova), see #436! Symfony 4 and PHP 7 support was dropped.
- Version 4.0.0 supports now Flysystem 2 & 3 (kudos to @m2mtech), see #412! Flysystem 1 and OneupFlysystemBundle < 4.0 support was dropped.
- Version 3.2.0 supports now Symfony 6 (kudos to @pich), see #421! PHP 7.2/7.3 support was dropped.
- Version 3.0.0 supports now Symfony 5 (kudos to @steveWinter, @gubler, @patrickbussmann, @ErnadoO and @enumag, see #373! Symfony 3.x support was dropped.
- Version 2.0.0 supports now Symfony 4 (Thank you @istvancsabakis, see #295)! Symfony 2.x support was dropped. You can also configure a file extension validation whitelist now (PR #262).
- Version 1.5.0 supports now Flysystem (Thank you @lsv! PR #213) and is no longer compatible with PHP 5.3 (it's EOL since August 2014 anyway).
- Version v1.0.0 introduced some backward compatibility breaks. For a full list of changes, head to the dedicated pull request.
- If you're using chunked uploads consider upgrading from v0.9.6 to v0.9.7. A critical issue was reported regarding the assembly of chunks. More information in ticket #21.
- Error management changed in Version 0.9.6. You can now register an
ErrorHandler
per configured frontend. This comes bundled with some adjustments to theblueimp
controller. More information is available in the documentation. - Event dispatching changed in Version 0.9.5. The dispatching is now handled in the
upload*
functions. So if you have created your own implementation, be sure to remove the call to thedispatchEvents
function, otherwise it will be called twice. Furthermore noPOST_UPLOAD
event will be fired anymore after uploading a chunk. You can get more information on this topic in the documentation. - Event names changed in Version 0.9.3, update your EventListener accordingly.
License
This bundle is under the MIT license. See the complete license in the bundle:
LICENSE
Reporting an issue or a feature request
Issues and feature requests are tracked in the Github issue tracker.
When reporting a bug, it may be a good idea to reproduce it in a basic project built using the Symfony Standard Edition to allow developers of the bundle to reproduce the issue by simply cloning it and following some steps.