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.
Installs: 30 007
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 3
Open Issues: 0
Requires
- php: >=5.3.3
Requires (Dev)
- friendsofphp/php-cs-fixer: dev-master
- zendframework/zendframework: 2.5.1
- zendframework/zftool: dev-master
This package is not auto-updated.
Last update: 2024-11-23 15:21:52 UTC
README
This project contains the PHP backend from the jQuery File Upload Plugin repackaged as an PSR-0/PSR-1/PSR-2 compatible library for easier automated installation using Composer. This package does not contain any of the frontend assets (js/css/img) - You should install them separately, using bower or other tools.
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
=>JqueryFileUploadHandler
), - the code is being formatted using php-cs-fixer,
- an autoload classmap is generated (autoload_classmap.php).
TODO
- Update version in
composer.json
after build - Check if newer jQuery File Upload Plugin really affects the lib.
- Travis
- CodeSniffer
- PSR-2 - camel case methods!
- Unit Testing
- Count builds?
Usage
<?php // require 'vendor/autoload.php'; // use Websafe\Blueimp\JqueryFileUploadHandler; // $uh = new JqueryFileUploadHandler();