gildonei/cakephp_file_upload

CakePHP Plugin to upload files using jquery plugin Blueimp File Upload

Installs: 66

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 27

Type:cakephp-plugin

dev-master 2022-10-05 14:47 UTC

This package is auto-updated.

Last update: 2024-05-05 18:24:32 UTC


README

Using the jQueryFileUpload from blueimp in CakePHP 2.1.x

You can find the documentation [here][fileupload] [fileupload]: https://github.com/blueimp/jQuery-File-Upload

Install

composer require gildonei/cakephp_file_upload:dev-master

Demo

Quick start

  • Download this plugin and move to app/Plugins/FileUpload

  • Create a table named uploads in your database with the following structure:

CREATE TABLE uploads (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(255) NOT NULL,
size int(11) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
  • Include the plugin in your app/Config/bootstrap.php file
CakePlugin::load('CakephpFileUpload');
  • Start upload files at http://yourapp.com/file_upload