Download the PHP package murodov20/yii2-redactor-imgmanager without Composer
On this page you can find all versions of the php package murodov20/yii2-redactor-imgmanager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download murodov20/yii2-redactor-imgmanager
More information about murodov20/yii2-redactor-imgmanager
Files in murodov20/yii2-redactor-imgmanager
Package yii2-redactor-imgmanager
Short Description Redactor with image manager, Image select widget and Multiple image placing widgets in one extension
License MIT
Homepage https://github.com/murodov20/yii2-redactor-imgmanager
Informations about the package yii2-redactor-imgmanager
Imperavi Redactor with image manager functionality via db
Redactor with image manager, Image select widget and Multiple image placing widgets in one extension
Thanks to @vova07 for yii2-imperavi-redactor and Thanks to @sam_dark and @yiiext for purchasing OEM license
Imperavi Redactor is the paid commercial extension, but some developers of Yii bought OEM license for for all Yii developers. That's why this version of Redactor has OEM license and you can use it for all your commercial projects. But you cann't update Redactor to new version.
Installation
Don't use this extension in production. Extension under development. If you want to go hard with this, you can use version 1.0.0.
The preferred way to install this extension is through composer.
- Development:
Either run
or add
- Production:
or add
to the require section of your composer.json
file.
After this run migration:
Usage
Once the extension is installed, simply use it in your code.
Simple configuration:
First of all, you need to add photo-manager module to your project:
In Redactor widget, Redactor will load image's src, In MultiplePhoto and PhotoInput widgets will be load image id.
Using widgets:
RedactorWidget:
PhotoInputWidget:
MultiplePhoto:
If you are using MultiplePhoto widget, 'attribute' param must be an array. You can access to values like this (eg. in Controller):