jberall / yii2-fileupload
File upload with binary, file upload or both.
Package info
github.com/jberall/yii2-fileupload
Type:yii2-extension
pkg:composer/jberall/yii2-fileupload
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2026-03-15 09:45:29 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 :