PHPackages                             yocto/yoclib-netstring - 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. yocto/yoclib-netstring

ActiveLibrary

yocto/yoclib-netstring
======================

This yocLibrary enables your project to encode and decode Netstring values in PHP.

v1.0.0(2y ago)04GPL-3.0-or-laterPHPPHP ^7||^8

Since Nov 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yocto/yoclib-netstring-php)[ Packagist](https://packagist.org/packages/yocto/yoclib-netstring)[ RSS](/packages/yocto-yoclib-netstring/feed)WikiDiscussions master Synced 1mo ago

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

yocLib - Netstring (PHP)
========================

[](#yoclib---netstring-php)

This yocLibrary enables your project to encode and decode Netstring values in PHP.

Status
------

[](#status)

[![CI](https://github.com/yocto/yoclib-netstring-php/actions/workflows/ci.yml/badge.svg)](https://github.com/yocto/yoclib-netstring-php/actions/workflows/ci.yml)

Installation
------------

[](#installation)

`composer require yocto/yoclib-netstring`

Use
---

[](#use)

### Encoding

[](#encoding)

```
use YOCLIB\Netstring\Netstring;

$string = 'abc';

$netstring = Netstring::encode($string);
```

### Decoding

[](#decoding)

```
use YOCLIB\Netstring\Netstring;

$netstring = '3:abc,';

$string = Netstring::decode($netstring);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

912d ago

### Community

Maintainers

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

---

Top Contributors

[![ben221199](https://avatars.githubusercontent.com/u/12856904?v=4)](https://github.com/ben221199 "ben221199 (3 commits)")

---

Tags

composernetstringphpqmqpqmtpyoclibyoctophpcomposeryoctoyoclibnetstringqmqpqmtp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yocto-yoclib-netstring/health.svg)

```
[![Health](https://phpackages.com/badges/yocto-yoclib-netstring/health.svg)](https://phpackages.com/packages/yocto-yoclib-netstring)
```

###  Alternatives

[nunomaduro/patrol

An elegant command-line tool that keeps your PHP Project's dependencies in check

271127.8k3](/packages/nunomaduro-patrol)[camcima/php-geohash

Refactored GeoHash package

1074.0k](/packages/camcima-php-geohash)[matthew-p/docker-server

Universal docker server, Nginx, PHP-FPM, MySql, Redis

112.8k](/packages/matthew-p-docker-server)

PHPackages © 2026

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