PHPackages                             websafe/lib-websafe-blueimp-jquery-file-upload-handler - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. websafe/lib-websafe-blueimp-jquery-file-upload-handler

ActiveLibrary[File &amp; Storage](/categories/file-storage)

websafe/lib-websafe-blueimp-jquery-file-upload-handler
======================================================

Repackaged PHP handler from Blueimp Jquery-File-Upload. Composer and autoloader ready. Contains only the PHP handler class. Install frontend assets with bower.

v9.18.0(9y ago)940.2k↓18%2MITPHPPHP &gt;=5.3.3

Since Feb 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/websafe/lib-websafe-blueimp-jquery-file-upload-handler)[ Packagist](https://packagist.org/packages/websafe/lib-websafe-blueimp-jquery-file-upload-handler)[ RSS](/packages/websafe-lib-websafe-blueimp-jquery-file-upload-handler/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

jQuery File Upload PHP backend / upload handler
===============================================

[](#jquery-file-upload-php-backend--upload-handler)

This project contains the PHP backend from the [jQuery File Upload Plugin](https://github.com/blueimp/jQuery-File-Upload)repackaged as an [PSR-0](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md)/[PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md)/[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) compatible library for easier automated installation using [Composer](http://getcomposer.org/). This package does not contain any of the frontend assets (js/css/img) - You should install them separately, using [bower](https://github.com/bower/bower) or other tools.

What happens during the build process?
--------------------------------------

[](#what-happens-during-the-build-process)

The buildprocess makes a few small changes to the original `server/php/UploadHandler.php` and publishes back to GitHub:

- a namespace is being added (`Websafe\Blueimp`),
- The class is being renamed (`UploadHandler` =&gt; `JqueryFileUploadHandler`),
- the code is being formatted using [php-cs-fixer](https://github.com/fabpot/PHP-CS-Fixer),
- an autoload classmap is generated ([autoload\_classmap.php](https://github.com/websafe/lib-websafe-blueimp-jquery-file-upload-handler/blob/master/autoload_classmap.php)).

TODO
----

[](#todo)

- Update version in `composer.json` after build
- Check if newer [jQuery File Upload Plugin](https://github.com/blueimp/jQuery-File-Upload) really affects the lib.
- Travis
- [CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
- PSR-2 - camel case methods!
- Unit Testing
- Count builds?

Usage
-----

[](#usage)

```
