PHPackages                             phergie/phergie-irc-connection - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. phergie/phergie-irc-connection

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

phergie/phergie-irc-connection
==============================

Data structure for containing information about an IRC client connection

2.0.0(11y ago)1022.6k↓78.9%76BSD-2-ClausePHPPHP &gt;=5.4.2

Since Nov 4Pushed 6y ago3 watchersCompare

[ Source](https://github.com/phergie/phergie-irc-connection)[ Packagist](https://packagist.org/packages/phergie/phergie-irc-connection)[ RSS](/packages/phergie-phergie-irc-connection/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (1)Versions (6)Used By (6)

This project is abandoned
=========================

[](#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.

phergie/phergie-irc-connection
==============================

[](#phergiephergie-irc-connection)

A PHP data structure for containing client connection information per the IRC protocol as described in RFC 1459.

Primarily used by IRC client implementations of the Phergie project.

[![Build Status](https://camo.githubusercontent.com/c9ac4614e1ed387aedbf54b50ab8f0272aa49fac8327cbdad3eee7650a46b20e/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f706865726769652f706865726769652d6972632d636f6e6e656374696f6e2e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/phergie/phergie-irc-connection)

Install
-------

[](#install)

The recommended method of installation is [through composer](http://getcomposer.org).

```
{
    "require": {
        "phergie/phergie-irc-connection": "~2"
    }
}
```

Design goals
------------

[](#design-goals)

- Minimal dependencies: PHP 5.4.2+
- Simple easy-to-understand API

Usage
-----

[](#usage)

```
$connection = new \Phergie\Irc\Connection();

$connection
    ->setServerHostname('hostname')
    ->setServerPort(6668)
    ->setPassword('password')
    ->setNickname('nickname')
    ->setUsername('username')
    ->setHostname('hostname')
    ->setServername('servername')
    ->setRealname('realname')
    ->setOption('option', 'value');

echo $connection->getServerHostname();
echo $connection->getServerPort();
echo $connection->getPassword();
echo $connection->getNickname();
echo $connection->getUsername();
echo $connection->getHostname();
echo $connection->getServername();
echo $connection->getRealname();
echo $connection->getOption('option');
```

Tests
-----

[](#tests)

To run the unit test suite:

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

```

License
-------

[](#license)

Released under the BSD License. See `LICENSE`.

Community
---------

[](#community)

Check out #phergie on irc.freenode.net.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~233 days

Total

5

Last Release

4047d ago

Major Versions

1.3.0 → 2.0.02015-05-26

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

2.0.0PHP &gt;=5.4.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/80dec604abed1b21daafc54c430468444a2ad163ad5f8229348b8d241b797778?d=identicon)[elazar](/maintainers/elazar)

---

Top Contributors

[![elazar](https://avatars.githubusercontent.com/u/15487?v=4)](https://github.com/elazar "elazar (25 commits)")[![Renegade334](https://avatars.githubusercontent.com/u/9092381?v=4)](https://github.com/Renegade334 "Renegade334 (5 commits)")[![matthewtrask](https://avatars.githubusercontent.com/u/4731244?v=4)](https://github.com/matthewtrask "matthewtrask (2 commits)")[![svpernova09](https://avatars.githubusercontent.com/u/967362?v=4)](https://github.com/svpernova09 "svpernova09 (1 commits)")[![tomzx](https://avatars.githubusercontent.com/u/188960?v=4)](https://github.com/tomzx "tomzx (1 commits)")

---

Tags

clientserverConnectionirc

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/phergie-phergie-irc-connection/health.svg)

```
[![Health](https://phpackages.com/badges/phergie-phergie-irc-connection/health.svg)](https://phpackages.com/packages/phergie-phergie-irc-connection)
```

###  Alternatives

[clue/socket-raw

Simple and lightweight OOP wrapper for PHP's low-level sockets extension (ext-sockets).

35211.7M50](/packages/clue-socket-raw)[voryx/thruway

Thruway WAMP router core

6761.0M17](/packages/voryx-thruway)[mix/grpc

PHP gRPC based on Swoole coroutine, including protoc code generator, server, and client

583.0k3](/packages/mix-grpc)[thiagof/laravelrpc

JsonRPC Client/Server services for Laravel 5

337.5k](/packages/thiagof-laravelrpc)[pikart/goip

Goip server and client

318.1k](/packages/pikart-goip)[initphp/socket

Lightweight TCP, UDP, TLS and SSL socket server/client toolkit for PHP 8.1+.

104.5k](/packages/initphp-socket)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
