jberall/yii2-fileupload

File upload with binary, file upload or both.

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2017-02-02 16:49 UTC

This package is not auto-updated.

Last update: 2024-04-28 00:27:04 UTC


README

File upload with binary, file upload or both.

Installation

The preferred way to install this extension is through composer.

After install Migrations are not done. Open the file_upload_table.sql in your database and run it as a query.

In your config file add

'modules' => [ 'fuext' => [ //fuext can be anything 'class' => 'jberall\fileupload\Module', ],
],

then http://your-site.com/fuext/file-upload

Either run

composer require jberall/yii2-fileupload:dev-master 

or add

"jberall/yii2-fileupload": "dev-master"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :