websafe/lib-websafe-blueimp-jquery-file-upload-handler
最新稳定版本:v9.18.0
Composer 安装命令:
composer require 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.
README 文档
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.jsonafter 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();
统计信息
- 总下载量: 35.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-11-14