PHPackages                             sitedyno/irc-format-stripper - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sitedyno/irc-format-stripper

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sitedyno/irc-format-stripper
============================

Strips irc formatters from a string

v1.0.1(9y ago)420MITPHP

Since May 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sitedyno/irc-format-stripper)[ Packagist](https://packagist.org/packages/sitedyno/irc-format-stripper)[ RSS](/packages/sitedyno-irc-format-stripper/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

sitedyno/irc-format-stripper
============================

[](#sitedynoirc-format-stripper)

[![Build Status](https://camo.githubusercontent.com/733bca8dba5fbf327fbf6ca868eb96279fd028af9c17c619a07112e1ac05a1dd/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7369746564796e6f2f6972632d666f726d61742d73747269707065722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/sitedyno/irc-format-stripper)[![codecov](https://camo.githubusercontent.com/10f05c7b660a9670698b0fe2e1ecbae57fbbace815603ab6060a28858852be20/68747470733a2f2f636f6465636f762e696f2f67682f7369746564796e6f2f6972632d666f726d61742d73747269707065722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/sitedyno/irc-format-stripper)

Library to strip IRC format codes from strings.

Install
-------

[](#install)

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

`php composer.phar require sitedyno/irc-format-stripper`

Configuration
-------------

[](#configuration)

There is no configuration at the moment.

Usage Example
-------------

[](#usage-example)

```
use Sitedyno\Irc\Format\Stripper;

$stripper = new Stripper;
$testMessage = "\x0301This text is black in IRC";
echo $testMessage;
// Outputs: 01This text is black in IRC
$strippedMessage = $stripper->strip($testMessage);
echo $strippedMessage;
// Outputs: This text is black in IRC
```

Monolog Processor Example
-------------------------

[](#monolog-processor-example)

```
use Sitedyno\Irc\Format\Stripper;

$stripper = new Stripper;
$testMessage = "\x0301This text is black in IRC";
echo $testMessage;
// Outputs: 01This text is black in IRC
$streamHandler = new \Monolog\Handler\StreamHandler(
    'mylog.log',
    \Monolog\Logger::DEBUG
);
$logger = new \Monolog\Logger(
    'mylog',
    [$streamHandler]
);
$logger->pushProcessor(function($record) use ($stripper) {
    $record['message'] = $stripper->strip($record['message']);
    return $record;
});
$logger->info($testMessage);
// Outputs to mylog.log: [2016-12-25 22:00:52] mylog.INFO This text is black in IRC
```

Testing
-------

[](#testing)

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 MIT License. See `LICENSE.md`.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~218 days

Total

2

Last Release

3474d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/216721?v=4)[sitedyno](/maintainers/sitedyno)[@sitedyno](https://github.com/sitedyno)

---

Top Contributors

[![sitedyno](https://avatars.githubusercontent.com/u/216721?v=4)](https://github.com/sitedyno "sitedyno (13 commits)")

---

Tags

irccolorformatirc

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sitedyno-irc-format-stripper/health.svg)

```
[![Health](https://phpackages.com/badges/sitedyno-irc-format-stripper/health.svg)](https://phpackages.com/packages/sitedyno-irc-format-stripper)
```

###  Alternatives

[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k126.6M194](/packages/willdurand-negotiation)[akaunting/laravel-money

Currency formatting and conversion package for Laravel

7855.7M46](/packages/akaunting-laravel-money)[spatie/color

A little library to handle color conversions

38220.5M34](/packages/spatie-color)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

4993.8M20](/packages/mexitek-phpcolors)[mistic100/randomcolor

Generate attractive random colors

2411.5M6](/packages/mistic100-randomcolor)[gabrielelana/byte-units

Library to parse, format and convert byte units

1682.3M20](/packages/gabrielelana-byte-units)

PHPackages © 2026

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