@@ -34,28 +34,28 @@ The preferred way to install this extension is through [composer](http://getcomp
3434Either run
3535
3636```
37- php composer.phar require --prefer-dist pendalf89 /yii2-filemanager "*"
37+ php composer.phar require --prefer-dist d1soft /yii2-filemanager "*"
3838```
3939
4040or add
4141
4242```
43- "pendalf89 /yii2-filemanager": "*"
43+ "d1soft /yii2-filemanager": "*"
4444```
4545
4646to the require section of your ` composer.json ` file.
4747
4848Apply migration
4949``` sh
50- yii migrate --migrationPath=vendor/pendalf89 /yii2-filemanager/migrations
50+ yii migrate --migrationPath=vendor/d1soft /yii2-filemanager/migrations
5151```
5252
5353Configuration:
5454
5555``` php
5656'modules' => [
5757 'filemanager' => [
58- 'class' => 'pendalf89 \filemanager\Module',
58+ 'class' => 'd1soft \filemanager\Module',
5959 // Upload routes
6060 'routes' => [
6161 // Base absolute path to web directory
@@ -108,7 +108,7 @@ Usage
108108Simple standalone field:
109109
110110``` php
111- use pendalf89 \filemanager\widgets\FileInput;
111+ use d1soft \filemanager\widgets\FileInput;
112112
113113echo $form->field($model, 'original_thumbnail')->widget(FileInput::className(), [
114114 'buttonTag' => 'button',
@@ -156,7 +156,7 @@ echo FileInput::widget([
156156
157157With TinyMCE:
158158``` php
159- use pendalf89 \filemanager\widgets\TinyMCE;
159+ use d1soft \filemanager\widgets\TinyMCE;
160160
161161<?= $form->field($model, 'content')->widget(TinyMCE::className(), [
162162 'clientOptions' => [
@@ -175,7 +175,7 @@ use pendalf89\filemanager\widgets\TinyMCE;
175175In model you must set mediafile behavior like this example:
176176
177177``` php
178- use pendalf89 \filemanager\behaviors\MediafileBehavior;
178+ use d1soft \filemanager\behaviors\MediafileBehavior;
179179
180180public function behaviors()
181181{
@@ -195,7 +195,7 @@ Than, you may get mediafile from your owner model.
195195See example:
196196
197197``` php
198- use pendalf89 \filemanager\models\Mediafile;
198+ use d1soft \filemanager\models\Mediafile;
199199
200200$model = Post::findOne(1);
201201$mediafile = Mediafile::loadOneByOwner('post', $model->id, 'thumbnail');
0 commit comments