PHPackages                             mrcodefinger/twelvetones - 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. mrcodefinger/twelvetones

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

mrcodefinger/twelvetones
========================

This script displays all twelve tones in random order.

11PHPCI failing

Since Dec 1Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

TwelveTones
-----------

[](#twelvetones)

This script displays all twelve tones in random order.

Examples:

```
$tones = new ShuffleArray( [
    "A",
    "B",
    "C",
    "D",
    "E",
    "F",
    "G",
    new RandomValue( [ "Ab", "G#" ] ),
    new RandomValue( [ "Bb", "A#" ] ),
    new RandomValue( [ "C#", "Db" ] ),
    new RandomValue( [ "D#", "Eb" ] ),
    new RandomValue( [ "F#", "Gb" ] ),
 ] );

```

`array_map("printf", $tones->getValue());`

```
foreach($tones->getValue() as $tone) {
     echo $tone . " ";
 }
 echo $tones;

```

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

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://avatars.githubusercontent.com/u/8933204?v=4)[Mr. Codefinger](/maintainers/mrcodefinger)[@mrcodefinger](https://github.com/mrcodefinger)

---

Top Contributors

[![mrcodefinger](https://avatars.githubusercontent.com/u/8933204?v=4)](https://github.com/mrcodefinger "mrcodefinger (12 commits)")

---

Tags

hacktoberfest-accepted

### Embed Badge

![Health badge](/badges/mrcodefinger-twelvetones/health.svg)

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

###  Alternatives

[bigwhoop/sentence-breaker

Sentence boundary disambiguation (SBD) - or sentence breaking - library written in PHP.

42132.3k](/packages/bigwhoop-sentence-breaker)[j0k3r/graby-site-config

Graby site config files

23365.8k3](/packages/j0k3r-graby-site-config)

PHPackages © 2026

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