PHPackages                             popcorn4dinner/string-format - 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. popcorn4dinner/string-format

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

popcorn4dinner/string-format
============================

A non-opinionated implementation of the presenter pattern

0.1.1(8y ago)2121MITPHPPHP &gt;=7.1

Since Apr 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/popcorn4dinner/php-string-format)[ Packagist](https://packagist.org/packages/popcorn4dinner/string-format)[ RSS](/packages/popcorn4dinner-string-format/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (3)Used By (1)

PHP String Format
=================

[](#php-string-format)

A PHP library to change cases of strings. For example from CamelCase to snake\_case.

camel case
----------

[](#camel-case)

```
echo StringFormat::toCamelCase('it_works');
// itWorks
```

snake case
----------

[](#snake-case)

```
echo StringFormat::toSnakeCase('ItWorks');
// it_works
```

pascal case
-----------

[](#pascal-case)

```
echo StringFormat::toPascalCase('it_works');
// ItWorks
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

2

Last Release

2994d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7091162?v=4)[Bastian Schnieders](/maintainers/popcorn4dinner)[@popcorn4dinner](https://github.com/popcorn4dinner)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/popcorn4dinner-string-format/health.svg)

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

###  Alternatives

[wp-forge/wp-update-handler

A WordPress package for updating custom plugins and themes based on an API response from a custom update server.

14155.3k](/packages/wp-forge-wp-update-handler)[scotthuangzl/yii2-google-chart

A wraper for google chart

12190.4k2](/packages/scotthuangzl-yii2-google-chart)[adhocore/underscore

PHP underscore inspired &amp;amp;/or cloned from \_.js

435.1k](/packages/adhocore-underscore)[thyagobrejao/laravel-commentable

Polymorphic threaded comments for Laravel

1410.4k1](/packages/thyagobrejao-laravel-commentable)

PHPackages © 2026

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