The OneupUploaderBundle for Symfony2 adds support for handling file uploads using one of the following Javascript libraries, or your own implementation.
Features included:
- Multiple file uploads handled by your chosen frontend library
- Chunked uploads
- Supports Gaufrette and/or 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
The entry point of the documentation can be found in the file Resources/docs/index.md
Read the documentation for master
- 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.
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE
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.