PHPackages                             ciaranmcnulty/varint - 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. ciaranmcnulty/varint

ActiveLibrary

ciaranmcnulty/varint
====================

Varint stream processor

55PHP

Since Mar 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ciaranmcnulty/varint)[ Packagist](https://packagist.org/packages/ciaranmcnulty/varint)[ RSS](/packages/ciaranmcnulty-varint/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Varint stream processing library
================================

[](#varint-stream-processing-library)

Varint streams can be used to delimit binary messages without expending the stream size significantly. They are especially useful for message formats without inherent delimiting (e.g. protobuf).

Usage
-----

[](#usage)

### Decoding a stream as strings

[](#decoding-a-stream-as-strings)

```
use Cjm\Varint\Stream\Decoder;

$decoder = Decoder::fromPath('php://stdin');

foreach($decoder->strings() as $string) {
   // do something with the message
}

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7c4612e19ba73b517d8c3e15890af6687f8a206eb56676c1714209534378429?d=identicon)[ciaranmcnulty](/maintainers/ciaranmcnulty)

---

Top Contributors

[![ciaranmcnulty](https://avatars.githubusercontent.com/u/237866?v=4)](https://github.com/ciaranmcnulty "ciaranmcnulty (5 commits)")

### Embed Badge

![Health badge](/badges/ciaranmcnulty-varint/health.svg)

```
[![Health](https://phpackages.com/badges/ciaranmcnulty-varint/health.svg)](https://phpackages.com/packages/ciaranmcnulty-varint)
```

PHPackages © 2026

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