PHPackages                             innmind/mutable - 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. innmind/mutable

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

innmind/mutable
===============

Mutable data structures

1.0.0(4mo ago)09.4k↓46.8%2MITPHPPHP ~8.4CI passing

Since Jan 18Pushed 4mo agoCompare

[ Source](https://github.com/Innmind/mutable)[ Packagist](https://packagist.org/packages/innmind/mutable)[ Docs](http://github.com/innmind/mutable)[ RSS](/packages/innmind-mutable/feed)WikiDiscussions main Synced 1mo ago

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

Mutable
=======

[](#mutable)

[![Build Status](https://github.com/Innmind/mutable/actions/workflows/ci.yml/badge.svg)](https://github.com/Innmind/mutable/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/2bf4a9116cd90b55e6bd11289ef557d9b7d057dc45c198882b0318dcebf7da56/68747470733a2f2f636f6465636f762e696f2f67682f696e6e6d696e642f6d757461626c652f6272616e63682f646576656c6f702f67726170682f62616467652e737667)](https://codecov.io/gh/innmind/mutable)[![Type Coverage](https://camo.githubusercontent.com/4d8a50907e2c3e395cd7126695d35cef86119e02de9c7aa44553a097e64ad496/68747470733a2f2f73686570686572642e6465762f6769746875622f696e6e6d696e642f6d757461626c652f636f7665726167652e737667)](https://shepherd.dev/github/innmind/mutable)

This a collection of mutable data structures.

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

[](#installation)

```
composer require innmind/mutable
```

Usage
-----

[](#usage)

Available structures:

- `Innmind\Mutable\Map`
- `Innmind\Mutable\Queue` FIFO queue
- `Innmind\Mutable\Ring` Circle through a fixed sequence of data in an infinite loop
- `Innmind\Mutable\Set`
- `Innmind\Mutable\Stack` LIFO queue

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance78

Regular maintenance activity

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

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

120d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

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

---

Tags

datastructuremutable

### Embed Badge

![Health badge](/badges/innmind-mutable/health.svg)

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

###  Alternatives

[fakerphp/faker

Faker is a PHP library that generates fake data for you.

3.9k358.5M3.5k](/packages/fakerphp-faker)[dflydev/dot-access-data

Given a deep data structure, access data by dot notation.

718359.1M86](/packages/dflydev-dot-access-data)[mbezhanov/faker-provider-collection

A collection of custom providers for the Faker library

2138.6M24](/packages/mbezhanov-faker-provider-collection)[php-units-of-measure/php-units-of-measure

A PHP library for converting between standard units of measure.

3123.4M20](/packages/php-units-of-measure-php-units-of-measure)[amenadiel/jpgraph

Composer Friendly, full refactor of JpGraph, library to make graphs and charts

1492.2M7](/packages/amenadiel-jpgraph)[jbzoo/data

An extended version of the ArrayObject object for working with system settings or just for working with data arrays

891.6M23](/packages/jbzoo-data)

PHPackages © 2026

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