定制 sitedyno/phergie-reminders 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sitedyno/phergie-reminders

最新稳定版本:2.0.0

Composer 安装命令:

composer require sitedyno/phergie-reminders

包简介

Phergie plugin to remind you when the pizza is done.

README 文档

README

Phergie plugin to remind you when the pizza is done.

Build Status

Install

The recommended method of installation is through composer.

composer require sitedyno/phergie-reminders

See Phergie documentation for more information on installing and enabling plugins.

Configuration

Configuration is optional.

return [
    'plugins' => [
        // dependencies
        new \Phergie\Irc\Plugin\React\Command\Plugin,

        // optional dependencies
        new \Phergie\Irc\Plugin\React\CommandHelp\Plugin([
            // List of plugins that subscribe to command events
            // Used to return a list of available commands to users
            'plugins' => [
                new \Sitedyno\Phergie\Plugin\Reminders\Plugin,
            ]
        ]),

        // configuration
        new \Sitedyno\Phergie\Plugin\Reminders\Plugin([
            // path to the reminder cache
            'cachePath' => '/home/coolperson/phergie',
            // file name of the reminder cache file
            'cacheFile' => '.phergie-reminders',
            // If true the plugin responds in private message only
            'forcePMs' => true,
            // If a user has a list of reminders larger than this value
            // the repsonse  will be in private message
            'maxListSize' => 5,
        ])
    ]
];

For more info about dependency configuration see Command Plugin and Command Help Plugin

Tests

To run the unit test suite:

curl -s https://getcomposer.org/installer | php
php composer.phar install
./vendor/bin/phpunit

License

Released under the MIT License. See LICENSE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-12