PHPackages                             joachim-n/case-converter - 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. joachim-n/case-converter

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

joachim-n/case-converter
========================

Case converter library

1.0.1(2y ago)11383.0k↓23.7%1[1 issues](https://github.com/joachim-n/case-converter/issues)2PHP

Since Dec 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/joachim-n/case-converter)[ Packagist](https://packagist.org/packages/joachim-n/case-converter)[ RSS](/packages/joachim-n-case-converter/feed)WikiDiscussions 1.0.x Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (2)

Case Converter is a small library for converting strings from one case to another. It handles, as both input and output:

- camelCase
- PascalCase
- snake\_case
- kebab-case
- Title Case

Installation:

With Composer:

```
$ composer require joachim-n/case-converter

```

Usage:

```
$output = \CaseConverter\CaseString::INPUTFORMAT('MyString')->OUTPUTFORMAT();

```

For example:

```
$output = \CaseConverter\CaseString::camel('MyString')->pascal();
$output = \CaseConverter\CaseString::camel('MyString')->snake();
$output = \CaseConverter\CaseString::camel('MyString')->kebab();
$output = \CaseConverter\CaseString::snake('my_string')->camel();
$output = \CaseConverter\CaseString::snake('my_string')->pascal();
$output = \CaseConverter\CaseString::snake('my_string')->kebab();

```

If your input string is in a format that requires custom splitting, you can pass the pieces to StringAssembler for output. For example:

```
$output = (new \CaseConverter\StringAssembler(['my', 'string']))->camel();

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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 ~1064 days

Total

3

Last Release

944d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21043d4af2cb62a3e316647f63749d05fcbab1c9bd5e67ffa2079b0117e8f65a?d=identicon)[joachim-n](/maintainers/joachim-n)

---

Top Contributors

[![joachim-n](https://avatars.githubusercontent.com/u/105262?v=4)](https://github.com/joachim-n "joachim-n (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joachim-n-case-converter/health.svg)

```
[![Health](https://phpackages.com/badges/joachim-n-case-converter/health.svg)](https://phpackages.com/packages/joachim-n-case-converter)
```

###  Alternatives

[nyu8/flarum-email-filter

Filter emails registering your Flarum site with whitelist, blacklist and even regular expressions.

102.3k](/packages/nyu8-flarum-email-filter)

PHPackages © 2026

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