2017 © Pedro Peláez
 

cakephp-plugin cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

image

nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  • Sunday, December 3, 2017
  • by jorgemarcondes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

cakephp3-blueimp-upload

CakePHP3 plugin allowing to easily use the blueimp jQuery-File-Upload, (*1)

General Features

  • A helper allows to create an upload button with a progess bar
  • A component manage the uploads requests (may be in multiple chunks)
  • Each upload is stored into a datatable with the file infos
  • Once the upload is over, do what you want in your application with the record and the uploaded file

Installation

Adding the plugin

You can easily install this plugin using composer as follows:, (*2)

```composer.json ... "repositories": [ { "type": "vcs", "url": "https://github.com/jorgemarcondes/cakephp3-blueimp-upload.git" } ], ... "require": { ... "jorgemarcondes/cakephp3-blueimp-upload": "*" ... }, ..., (*3)


### Enabling the plugin After adding the plugin remember to load it in your `config/bootstrap.php` file. The `Alaxos` plugin must be loaded as well. ```php Plugin::load('Alaxos', ['bootstrap' => true]); Plugin::load('CakephpBlueimpUpload');

Using the plugin

Template

echo $this->BlueimpUpload->chunked('picture_upload', [
                                   'upload_url' => Router::url(['controller' => 'Posts', 'action' => 'upload_picture', $post->id])
                                ]);

Check for options in the chunked() method., (*4)

Controller


public $components = ['CakephpBlueimpUpload.Uploader']; public $helpers = ['CakephpBlueimpUpload.BlueimpUpload']; public function upload_picture($id = null) { ... $upload = $this->Uploader->upload($upload_folder, ['accepted_mimetypes' => ['image/jpeg', 'image/tiff', 'image/png']]); if($upload !== false) { if($upload->complete) { /* * The upload is over. * Do what you want with the $upload entity */ } } ... }

The Versions

03/12 2017

dev-master

9999999-dev https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

03/12 2017

dev-dev

dev-dev https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

03/12 2017

1.4.2

1.4.2.0 https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

10/06 2017

1.4.1

1.4.1.0 https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

08/06 2017

1.4.0

1.4.0.0 https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

03/06 2017

1.3.0

1.3.0.0 https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

27/05 2017

1.2.0

1.2.0.0 https://github.com/nonainc/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

22/05 2017

1.1.0

1.1.0.0 https://github.com/alaxos/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload

20/11 2015

1.0.0

1.0.0.0 https://github.com/alaxos/cakephp3-blueimp-upload

CakePHP 3 plugin allowing to easily use the blueimp jQuery-File-Upload

  Sources   Download

MIT

The Requires

 

The Development Requires

cakephp upload libraries blueimp jquery-file-upload