johnproza / yii2-file-upload
Files uploader
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 11
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
- yiisoft/yii2-bootstrap4: @dev
- dev-master
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ua-parser-js-0.7.28
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-4.0.1
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/acorn-6.4.1
This package is auto-updated.
Last update: 2025-04-29 01:01:08 UTC
README
Files upload extension for yii2.
This is extension, which helps to upload files in backend
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist johnproza/yii2-file-upload "*"
or add
"johnproza/yii2-file-upload" : "*"
to the require section of your composer.json
file.
Module setup
Insert into your config file
'modules' => [ 'file' => [ 'class' => 'oboom\fileupload\Module', 'uploadFolder' => '/home/somepath/frontend/web/uploads/files', // path to root file folder 'extension'=>['jpg','png','jpeg','gif','svg'], // available extensions of files 'lang'=>"ru" // change frontend lang (ru || en) ], ]