定制 pear/net_smartirc 二次开发

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

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

pear/net_smartirc

最新稳定版本:v1.1.14

Composer 安装命令:

composer require pear/net_smartirc

包简介

More info available on: http://pear.php.net/package/Net_SmartIRC

README 文档

README

Docs - Bugs - Downloads - Roadmap

What is this?

Net_SmartIRC is a PHP package that helps you communicate with IRC networks in whatever way you might need, whether in a CLI program or as part of a web page. It's also well suited for bot development.

Goals

  • To be a fast and full-featured way to interface your PHP code with IRC networks.
  • To provide a concise, easy-to-use module API to make it do exactly what you want.

Future plans

This package was originally written for PHP 4 (and the code shows it). My aim is to fix all submitted bugs, update the code structure as much as I can without breaking backward compatibility, implement whatever new features are fairly simple to add, and update the documentation and examples. This package will likely be used as a starting point for a new IRC library that uses better OO principles and is even easier to use. -- Garrett W., current maintainer

How to contribute

  1. Read the TODO file or the roadmap on the main package homepage to see what needs doing
  2. Fork the repo
  3. Make code changes using PEAR Coding Standards
  4. Submit pull request
  5. Pat yourself on the back

People involved

Files included

  • Net/
    • SmartIRC/
      • defines.php (Necessary message code defines)
      • irccommands.php (Basic outgoing message functions)
      • messagehandler.php (Basic incoming message handlers)
    • SmartIRC.php (The class itself)
  • docs/
    • examples/
      • example.php (a very basic bot that simply responds to a message)
      • example2.php (how to output number of channel users in a webpage)
      • example3.php (another basic bot that uses the channel user list to find ops)
      • example4.php (examines realnames of users in channel)
      • example5.php (kicks other users on command)
      • example6.php (greets users when they join the channel)
      • example7.php (shows how to use timers to do things rather than events)
    • HTML/ (the full documentation of SmartIRC)
    • DOCUMENTATION (Appendix to the HTML documentation for developers)
    • HOWTO (Mini howto with detailed information, step by step)
  • composer.json (Hopefully this package will eventually be on packagist.org)
  • package.xml (Package info file generated by PEAR packager)
  • phpdoc.dist.xml (phpDocumentor settings to make generating API documentation easy)

统计信息

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

GitHub 信息

  • Stars: 25
  • Watchers: 20
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL
  • 更新时间: 2017-01-14