panix/mod-flashka 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

panix/mod-flashka

Composer 安装命令:

composer require panix/mod-flashka

包简介

Module flashka

README 文档

README

Module for PIXELION CMS

API documentation API Changes

Latest Stable Version Latest Unstable Version Total Downloads Monthly Downloads Daily Downloads License

Installation

The preferred way to install this extension is through composer.

Either run

php composer require --prefer-dist panix/mod-flashka "*"

or add

"panix/mod-flashka": "*"

to the require section of your composer.json file.

Add to common config.

'bootstrap' => [
    ..
    'queue',
],
'components' => [
    ...
    'queue' => [
        'class' => 'yii\queue\db\Queue',
        'channel' => 'default', // Выбранный для очереди канал
        'mutexTimeout' => 5,
        'ttr' => 2 * 60, // Максимальное время выполнения задания
        'attempts' => 3, // Максимальное кол-во попыток
        'deleteReleased' => true,
        'mutex' => \yii\mutex\MysqlMutex::class, // Мьютекс для синхронизации запросов
        'as log' => \yii\queue\LogBehavior::class,
        // Other driver options
    ],
]

Add to console config.

'controllerMap' => [
    'migrate' => [
        ...
        'migrationNamespaces' => [
            'yii\queue\db\migrations',
        ],
    ]
],

Add to web config.

'modules' => [
    'flashka' => [
        'class' => 'panix\mod\flashka\Module',
    ],
],
'components' => [
    'log' => [
        ..
        'targets'=>[
            [
                'class' => 'panix\engine\log\FileTarget',
                'logFile' => '@runtime/logs/flashka.log',
                'categories' => ['flashka'],
                'logVars' => []
            ]
        ]
    ],
]

Migrate

php cmd migrate --migrationPath=vendor/panix/mod-flashka/migrations

PIXELION CMS!
Content Management System "PIXELION CMS"
www.pixelion.com.ua

The module is under development, any moment can change everything.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-28