PHPackages                             hashmode/cakephp-jquery-file-upload - 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. hashmode/cakephp-jquery-file-upload

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

hashmode/cakephp-jquery-file-upload
===================================

Cakephp 3.x Jquery File Upload

v1.0.3(9y ago)72.9k↓66.7%5[3 issues](https://github.com/hashmode/cakephp-jquery-file-upload/issues)MITPHP

Since Apr 27Pushed 9y ago2 watchersCompare

[ Source](https://github.com/hashmode/cakephp-jquery-file-upload)[ Packagist](https://packagist.org/packages/hashmode/cakephp-jquery-file-upload)[ RSS](/packages/hashmode-cakephp-jquery-file-upload/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (7)Used By (0)

Cakephp-Jquery-File-Upload
==========================

[](#cakephp-jquery-file-upload)

This is a **Cakephp 3.x** vendor/plugin for blueimp jquery file upload widget

Requirements
------------

[](#requirements)

1. Cakephp 3.x
2. Blueimp Jquery File Upload -  (dependency is added into the plugin's composer, so it wil be automaticaly installed)

Installation
------------

[](#installation)

**1)** Installation is done by composer: add the following into your main composer.json (inside require) and then run `composer update`

```
"hashmode/cakephp-jquery-file-upload": "~1.0"

```

To use the css and js files from the original library, they are being copied to plugin's webroot directory: for that inside your application's main `composer.json` the following should be added

```
"scripts": {
    "post-update-cmd": "CakephpJqueryFileUpload\\Console\\Installer::postUpdate"
},

```

**2)** Load Plugin from bootstrap, and add component into controller, helper - to AppView

```
// bootstrap.php
Plugin::load('CakephpJqueryFileUpload');

// inside your controller's initialize
$this->loadComponent('CakephpJqueryFileUpload.JqueryFileUpload');

// inside AppView.php initialize
$this->loadHelper('CakephpJqueryFileUpload.JqueryFileUpload');

```

**3)** To add the `UploadHelper` class to autoload classmap, add this into your main composer - under `autoload`, same level as `psr-4`

```
"classmap": [
	"vendor/blueimp/jquery-file-upload/server/php"
]

```

and run `composer dump-autoload`

**4)** Simple setup example

```

    Select files...

$(function () {

    // Initialize the jQuery File Upload widget:
    $('#fileupload').fileupload({
        // Uncomment the following to send cross-domain cookies:
        //xhrFields: {withCredentials: true},
        url: '/myController/myAction'
    });

});

```

inside your `myAction`

```
// example options
$options = array(
    'max_file_size' => 2048000,
    'max_number_of_files' => 10,
    'access_control_allow_methods' => array(
        'POST'
    ),
    'access_control_allow_origin' => Router::fullBaseUrl(),
    'accept_file_types' => '/\.(jpe?g|png)$/i',
    'upload_dir' => WWW_ROOT . 'files' . DS . 'uploads' . DS,
    'upload_url' => '/files/uploads/',
    'print_response' => false
);

$result = $this->JqueryFileUpload->upload($options);

```

For full `$options` please refer to

License
=======

[](#license)

MIT

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Total

6

Last Release

3577d ago

Major Versions

v0.1.2 → v1.0.02016-04-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc8bf7e1b68a4c17b33425818798e48effc35a6a986272c679e147600961977e?d=identicon)[hashmode](/maintainers/hashmode)

---

Top Contributors

[![hashmode](https://avatars.githubusercontent.com/u/5838337?v=4)](https://github.com/hashmode "hashmode (18 commits)")

---

Tags

cakephpjqueryfile-upload

### Embed Badge

![Health badge](/badges/hashmode-cakephp-jquery-file-upload/health.svg)

```
[![Health](https://phpackages.com/badges/hashmode-cakephp-jquery-file-upload/health.svg)](https://phpackages.com/packages/hashmode-cakephp-jquery-file-upload)
```

###  Alternatives

[kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

5.4k7.9M13](/packages/kartik-v-bootstrap-fileinput)[moxiecode/plupload

Plupload is a JavaScript API for dealing with file uploads it supports features like multiple file selection, file type filtering, request chunking, client side image scaling and it uses different runtimes to achieve this such as HTML 5, Silverlight and Flash.

5.6k548.7k6](/packages/moxiecode-plupload)[kartik-v/yii2-widget-fileinput

An enhanced FileInput widget for Bootstrap 3.x, 4.x &amp; 5.x with file preview, multiple selection, and more features (sub repo split from yii2-widgets)

2286.8M95](/packages/kartik-v-yii2-widget-fileinput)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)[wyrihaximus/fly-pie

Flysystem integration plugin for CakePHP 5

38297.8k](/packages/wyrihaximus-fly-pie)[blueimp/jquery-file-upload

File Upload widget for jQuery.

141.5M18](/packages/blueimp-jquery-file-upload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
