2017 © Pedro Peláez
 

library phergie-irc-generator

Generator for messages conforming to the IRC protocol

image

phergie/phergie-irc-generator

Generator for messages conforming to the IRC protocol

  • Thursday, November 24, 2016
  • by elazar
  • Repository
  • 5 Watchers
  • 6 Stars
  • 13,285 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 11 Versions
  • 1 % Grown

The README.md

This project is abandoned

This repo is being kept for posterity and will be archived in a readonly state. If you're interested it can be forked under a new Composer namespace/GitHub organization., (*1)

phergie/phergie-irc-generator

A PHP-based generator for messages conforming to the IRC protocol as described in RFC 1459., (*2)

Build Status, (*3)

Install

The recommended method of installation is through composer., (*4)

{
    "minimum-stability": "dev",
    "require": {
        "phergie/phergie-irc-generator": "1.1.0"
    }
}

Design goals

  • Minimal dependencies: PHP 5.3.3+
  • Simple easy-to-understand API

Usage

<?php
$generator = new \Phergie\Irc\Generator();
$messages = $generator->ircPass('password')
    . $generator->ircNick('nick')
    . $generator->ircUser('username', 'hostname', 'servername', 'realname')
    . $generator->ircJoin('#channel1,#channel2')
    . $generator->ircPrivmsg('#channel1', 'Hello world!');
echo $messages;

/*
Output:
PASS :password
NICK :nick
USER username hostname servername :realname
JOIN :#channel1,#channel2
PRIVMSG #channel1 :Hello world!

*/

Tests

To run the unit test suite:, (*5)

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

License

Released under the BSD License. See LICENSE., (*6)

Community

Check out #phergie on irc.freenode.net., (*7)

The Versions

24/11 2016

dev-master

9999999-dev

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php ^7.0||^5.6

 

The Development Requires

generator irc

19/11 2015

dev-add-gitattributes

dev-add-gitattributes

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.5

 

The Development Requires

generator irc

10/11 2015

dev-upgrade-to-phergie/phergie-irc-bot-react-development

dev-upgrade-to-phergie/phergie-irc-bot-react-development

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

generator irc

16/07 2015

1.7.0

1.7.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

generator irc

09/06 2015

1.6.0

1.6.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

generator irc

28/03 2015

1.5.0

1.5.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

generator irc

09/07 2014

1.4.0

1.4.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

The Development Requires

generator irc

15/01 2014

1.3.0

1.3.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

generator irc

05/10 2013

1.2.0

1.2.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

generator irc

15/07 2013

1.1.0

1.1.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

generator irc

05/11 2012

1.0.0

1.0.0.0

Generator for messages conforming to the IRC protocol

  Sources   Download

BSD-2-Clause

The Requires

  • php >=5.3.3

 

generator irc