stupidkitty / video
Video module. Yii2
Installs: 445
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.4
- ext-json: *
- jbroadway/urlify: ^1.1
- league/csv: ^9.0
- league/flysystem: ^1.0
- symfony/event-dispatcher: ^5.0
- yii2tech/csv-grid: *
- yiisoft/yii2: ~2.0.38
README
Yii2 video module
App configure module
'modules' => [
'videos' => [
'class' => SK\VideoModule\Module::class,
//'viewPath' => '@app/views/videos',
//'controllerNamespace' => 'SK\VideoModule\Admin\Controller',
],
],
Migrations
config:
'controllerMap' => [
'migrate' => [
'class' => yii\console\controllers\MigrateController::class,
'migrationNamespaces' => [],
'migrationPath' => [
'@vendor/stupidkitty/video/src/Migration',
],
],
],
or composer:
"scripts": {
"post-update-cmd": [
"yes | php yii migrate --migrationPath=@vendor/stupidkitty/video/src/Migration"
],
"post-install-cmd": [
"yes | php yii migrate --migrationPath=@vendor/stupidkitty/video/src/Migration"
]
}