PHPackages                             bahulneel/phonon - 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. bahulneel/phonon

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

bahulneel/phonon
================

Interesting concepts half-inched from other languages

0.2.3(11y ago)021[1 issues](https://github.com/bahulneel/phonon/issues)[1 PRs](https://github.com/bahulneel/phonon/pulls)MITPHPPHP &gt;=5.4.0

Since Aug 20Pushed 10y ago2 watchersCompare

[ Source](https://github.com/bahulneel/phonon)[ Packagist](https://packagist.org/packages/bahulneel/phonon)[ Docs](http://bahulneel.github.io/phonon)[ RSS](/packages/bahulneel-phonon/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (6)Versions (11)Used By (0)

phonon
======

[](#phonon)

[![Build Status](https://camo.githubusercontent.com/3b3ba2d019cba68869189372cbddef08af9f60827ba2f078178156bb5c11e093/68747470733a2f2f7472617669732d63692e6f72672f626168756c6e65656c2f70686f6e6f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bahulneel/phonon)

This library provides a collection of useful programming concepts that I have collected from using other languages. Most of them come from the [clojure](http://clojure.org) programming language but I expect to be adding more as I find them.

At present we have support for the following concepts:

- Runtime polymorphism via:
    - Multi-methods
    - Protocols
- Immutable data structures:
    - Persistent Vectors
- Transducers

Runtime Polymorphism
--------------------

[](#runtime-polymorphism)

### Multi-methods

[](#multi-methods)

### Protocols

[](#protocols)

Immutable Data Structures
-------------------------

[](#immutable-data-structures)

### Persistent Vectors

[](#persistent-vectors)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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 ~15 days

Recently: every ~2 days

Total

7

Last Release

4242d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1045670?v=4)[Bahul Neel Upadhyaya](/maintainers/bahulneel)[@bahulneel](https://github.com/bahulneel)

---

Top Contributors

[![bahulneel](https://avatars.githubusercontent.com/u/1045670?v=4)](https://github.com/bahulneel "bahulneel (14 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

functionalimmutabledata structurescompositionprotocolsmulti-methods

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/bahulneel-phonon/health.svg)

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

###  Alternatives

[qaribou/immutable.php

Immutable, highly-performant collections, well-suited for functional programming and memory-intensive applications.

345148.0k](/packages/qaribou-immutablephp)[lstrojny/functional-php

Functional primitives for PHP

2.0k7.5M51](/packages/lstrojny-functional-php)[league/pipeline

A plug and play pipeline implementation.

1.0k17.2M88](/packages/league-pipeline)[nikic/iter

Iteration primitives using generators

1.1k6.4M54](/packages/nikic-iter)[php-ds/php-ds

Specialized data structures as alternatives to the PHP array

4109.5M169](/packages/php-ds-php-ds)[aeon-php/calendar

PHP type safe, immutable calendar library

20810.4M16](/packages/aeon-php-calendar)

PHPackages © 2026

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