devgroup / yii2-media-storage
Helpers, utilities and widgets for media data
Installs: 701
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 2
Open Issues: 3
Type:yii2-extension
Requires
- php: >=5.5.0
- 2amigos/yii2-transliterator-helper: ^0.1.0
- devgroup/yii2-data-structure-tools: *
- devgroup/yii2-tag-dependency-helper: ~1.5
- kartik-v/yii2-editable: ^1.7
- kartik-v/yii2-grid: ^3.1
- league/glide: ^1.0
- mihaildev/yii2-elfinder: ^1.1.3
- mihaildev/yii2-elfinder-flysystem: ^0.0.1
- unclead/yii2-multiple-input: ~1.0
- yiisoft/yii2: ~2.0.6
- yiisoft/yii2-imagine: *
Requires (Dev)
- codeception/c3: ^2.0
- codeception/codeception: ^2.2
- phpunit/php-code-coverage: 2.2.x-dev
- se/selenium-server-standalone: dev-master
- yiisoft/yii2-faker: *
This package is auto-updated.
Last update: 2024-10-11 14:54:34 UTC
README
WARNING: This extension is under active development. Don't use it in production!
Extension to manage media data through web interface. Use MihailDev/yii2-elfinder as file manager, creocoder/yii2-flysystem as abstract file system, thephpleague/glide as image manipulator, DevGroup-ru/yii2-data-structure-tools to store relations in DB.
Installing
The preferred way to install this extension is through extension manager
Another way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist devgroup/yii2-media-storage "*"
or add
"devgroup/yii2-media-storage": "*"
to the require section of your composer.json
file.
Because this is
yii2-extension
you should run migrations manually
Configure
If extension installed throw extension manager simple go to config page and select media storage
section.
If extension installed throw composer you need to add to configuration
[ 'bootstrap' => ['media', 'properties'], 'modules' => [ 'properties' => [ 'class' => 'DevGroup\DataStructure\Properties\Module', ], 'media' => [ 'class' => 'DevGroup\MediaStorage\MediaModule', ], ], 'components' => [ 'multilingual' => [ 'class' => \DevGroup\Multilingual\Multilingual::className(), 'default_language_id' => 1, 'handlers' => [ [ 'class' => \DevGroup\Multilingual\DefaultGeoProvider::className(), 'default' => [ 'country' => [ 'name' => 'England', 'iso' => 'en', ], ], ], ], ], 'protectedFilesystem' => [ 'class' => 'creocoder\flysystem\LocalFilesystem', 'path' => '@app/media', ], ], ];