PHPackages                             charcoal-dev/buffers - 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. charcoal-dev/buffers

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

charcoal-dev/buffers
====================

Byte Array Buffers for Charcoal PHP Apps

0.2.6(3mo ago)08.0k↓33.3%111MITPHPPHP ^8.3CI passing

Since Sep 4Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/charcoal-dev/buffers)[ Packagist](https://packagist.org/packages/charcoal-dev/buffers)[ Docs](https://github.com/charcoal-dev/buffers)[ RSS](/packages/charcoal-dev-buffers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (11)

Charcoal Buffers
================

[](#charcoal-buffers)

[![Tests](https://github.com/charcoal-dev/buffers/actions/workflows/tests.yml/badge.svg)](https://github.com/charcoal-dev/buffers/actions/workflows/tests.yml/badge.svg)[![MIT License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

Buffers is a library designed for the intricate handling of byte arrays. Within its suite of tools, you'll find capabilities that not only simplify the generation of cryptographic hashes and seamless byte array reading but also provide robust solutions for fixed-sized buffer frames and variable length buffers. Furthermore, understanding the significance of byte order, our library offers comprehensive support for both little-endian and big-endian configurations, ensuring optimal adaptability and interoperability across diverse platforms and systems. Crafted with precision and emphasizing user experience, this library offers an unparalleled bridge between complexity and usability in the byte array manipulation arena.

For detailed information, guidance, and setup instructions regarding this library, please refer to our official documentation website:

Features
--------

[](#features)

Explore the library's features through the following guides:

- **[Buffer Management](docs/buffer-management.md)**: Learn about mutable (`Buffer`) and immutable (`BufferImmutable`) buffers, integer writing, and basic manipulation.
- **[Byte Reader](docs/byte-reader.md)**: Understand how to use the sequential reader for parsing binary data.
- **[Endianness and Byte Order](docs/byte-order.md)**: Guides on handling different byte orders (LE/BE), host architecture detection, and integer packing.
- **[TLV (Type-Length-Value) Codec](docs/tlv-codec.md)**: Documentation on the structured binary encoding and decoding system.
- **[Fixed-Length Types](docs/fixed-length-types.md)**: Overview of specialized buffers for fixed-size data like cryptographic hashes or identifiers.

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

[](#installation)

You can install the library via Composer:

```
composer require charcoal-dev/buffers
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity43

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

Every ~79 days

Total

3

Last Release

97d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11485189?v=4)[M. Furqan Siddiqui](/maintainers/furqansiddiqui)[@furqansiddiqui](https://github.com/furqansiddiqui)

---

Top Contributors

[![furqansiddiqui](https://avatars.githubusercontent.com/u/11485189?v=4)](https://github.com/furqansiddiqui "furqansiddiqui (96 commits)")

### Embed Badge

![Health badge](/badges/charcoal-dev-buffers/health.svg)

```
[![Health](https://phpackages.com/badges/charcoal-dev-buffers/health.svg)](https://phpackages.com/packages/charcoal-dev-buffers)
```

###  Alternatives

[polem/slack-notifier

A simple slack wrapper

5938.4k1](/packages/polem-slack-notifier)[czubehead/bootstrap-4-forms

Nette extension for Bootstrap 4 forms

1019.5k1](/packages/czubehead-bootstrap-4-forms)

PHPackages © 2026

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