定制 phergie/phergie-irc-plugin-react-magic-eight-ball 二次开发

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

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

phergie/phergie-irc-plugin-react-magic-eight-ball

最新稳定版本:2.0.0

Composer 安装命令:

composer require phergie/phergie-irc-plugin-react-magic-eight-ball

包简介

Phergie plugin for Helping users make decisions

README 文档

README

Phergie plugin for Helping users make decisions.

Build Status Coverage Status Code Climate

Install

The recommended method of installation is through composer.

{
    "require": {
        "phergie/phergie-irc-plugin-react-magic-eight-ball": "~2"
    }
}

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

Configuration

The Magic Eightball plugin requires a response provider with the AnswerProvider interface. The EightballProvider comes with the plugin but you can provide your own class if you want to provide different answers.

new \Phergie\Irc\Plugin\React\MagicEightBall\Plugin()

By default, the Plugin will provide \Phergie\Irc\Plugin\React\MagicEightBall\EightballProvider() if you do not specify a provider. You can also create your own provider and send it into the plugin to get different responses.

new \Phergie\Irc\Plugin\React\MagicEightBall\Plugin(
    new \Phergie\Irc\Plugin\React\MagicEightBall\EightballProvider() // Replace with your own provider
)

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 BSD License. See LICENSE.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-2-Clause
  • 更新时间: 2014-11-17