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↓90.9%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 3d 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 69% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity24

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

3622d 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

[cakephp/debug_kit

CakePHP Debug Kit

86314.7M171](/packages/cakephp-debug-kit)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

3361.0M51](/packages/dereuromark-cakephp-tools)[dereuromark/cakephp-tinyauth

A CakePHP plugin to handle user authentication and authorization the easy way.

131240.2k13](/packages/dereuromark-cakephp-tinyauth)

PHPackages © 2026

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