PHPackages                             ssfyn/string-case - 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. ssfyn/string-case

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

ssfyn/string-case
=================

Convert any string to snake\_case or kebab-case or PascalCase or camelCase.

1.0.0(7y ago)09MITPHP

Since Oct 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ssfyn/string-case)[ Packagist](https://packagist.org/packages/ssfyn/string-case)[ RSS](/packages/ssfyn-string-case/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

String Case
===========

[](#string-case)

Convert any string to **snake\_case** or **kebab-case** or **PascalCase** or **camelCase**.

Example
-------

[](#example)

```
use Fyn\Common\StringCase;

echo StringCase::snakeCase("This_is A-test@text"),"\n";  //this_is_a_test_text

echo StringCase::kebabCase("This_is A-test@text"),"\n";  //this-is-a-test-text

echo StringCase::pascalCase("This_is A-test@text"),"\n"; //ThisIsATestText

echo StringCase::camelCase("This_is A-test@text"),"\n";  //thisIsATestText
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

2776d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3890121?v=4)[ssfyn](/maintainers/ssfyn)[@ssfyn](https://github.com/ssfyn)

---

Top Contributors

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

---

Tags

camelcasekebabpascalphpsnakestring

### Embed Badge

![Health badge](/badges/ssfyn-string-case/health.svg)

```
[![Health](https://phpackages.com/badges/ssfyn-string-case/health.svg)](https://phpackages.com/packages/ssfyn-string-case)
```

PHPackages © 2026

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