PHPackages                             jakew/cases - 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. jakew/cases

AbandonedArchivedLibrary

jakew/cases
===========

A PHP tool to be able to convert from and to many different programming cases.

v0.0.1(8y ago)045[1 issues](https://github.com/jakew/cases/issues)MITPHP

Since Jan 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jakew/cases)[ Packagist](https://packagist.org/packages/jakew/cases)[ RSS](/packages/jakew-cases/feed)WikiDiscussions master Synced 6d ago

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

jakew/cases
===========

[](#jakewcases)

A PHP tool to be able to convert from and to many different programming cases.

Example Use
-----------

[](#example-use)

```
// You can add custom words in, for special cases.
Dictionary::getInstance()->addWord('eMail', 'email');

$phrase = Phrase::decode('ExamplePhrase');
echo $phrase->getSnakeCase();
# example-phrase

$phrase = Phrase::decode('ExamplePhrase');
echo $phrase->getSnakeCase('_');
# example_phrase

$phrase = Phrase::decode('example-phrase');
echo $phrase->getCamelCase();
# ExamplePhrase

$phrase = Phrase::decode('email_phrase');
echo $phrase->getCamelCase(false);
# examplePhrase

$phrase = Phrase::decode('email-address');
echo $phrase->getCamelCase();
# eMailAddress
```

This allows us to have words that may have medial capitals still be correct when lower and upper cases are used.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

3059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d10e2bcfe8e627efd561a01718c49220bdeb2be3230c25e17038bd9db832fb8?d=identicon)[Jakew](/maintainers/Jakew)

---

Top Contributors

[![jakew](https://avatars.githubusercontent.com/u/3536334?v=4)](https://github.com/jakew "jakew (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jakew-cases/health.svg)

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

PHPackages © 2026

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