PHPackages                             opintat/caseconverter - 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. opintat/caseconverter

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

opintat/caseconverter
=====================

Case converter from camel to snake case

v0.0.2(6y ago)04[1 PRs](https://github.com/opintat/caseconverter/pulls)MITPHP

Since Feb 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/opintat/caseconverter)[ Packagist](https://packagist.org/packages/opintat/caseconverter)[ Docs](https://github.com/opintat/caseconverter)[ RSS](/packages/opintat-caseconverter/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

[![PHP Composer](https://github.com/opintat/caseconverter/workflows/PHP%20Composer/badge.svg)](https://github.com/opintat/caseconverter/workflows/PHP%20Composer/badge.svg)

[![Coverage Status](https://camo.githubusercontent.com/d5d40d406dc9caf7f9386a7b40cca0152f025c2bb81d678cc005829ca4b60395/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6f70696e7461742f63617365636f6e7665727465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/opintat/caseconverter?branch=master)

CaseConverter
=============

[](#caseconverter)

CaseConverter is a PHP Modul to convert

- Snake case
- Kebap case
- Pascal case
- Camel case

from one to the other.

Installation
------------

[](#installation)

`composer require opintat/caseconverter`

Usage
-----

[](#usage)

First require vendor autoload.

```
// Load Composer's autoloader
require 'vendor/autoload.php';
```

Automatic input type detection.

```
$converter = new Converter();

$snake = $converter->setFrom('SnakeCase')->toSnakeCase();
echo $snake; // => snake_case

$camel = $converter->setFrom('camel-case')->toCamelCase();
echo $camel; // => camelCase

$kebap = $converter->setFrom('kebapCase')->toKebapCase();
echo $kebap; // => kebap-case

$pascal = $converter->setFrom('pascal_case')->to'PascalCase();
echo $pascal; // => PascalCase

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~0 days

Total

2

Last Release

2293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1104afa57e614f319cdbb9b2bf3efbf9a662eef6d6d9840840879c2507c697f0?d=identicon)[opintat](/maintainers/opintat)

---

Top Contributors

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

---

Tags

converter

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/opintat-caseconverter/health.svg)

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

###  Alternatives

[mark-gerarts/auto-mapper-plus

An AutoMapper for PHP

5623.2M21](/packages/mark-gerarts-auto-mapper-plus)[iamcal/php-emoji

This is a PHP library for dealing with Emoji, allowing you to convert between various native formats and displaying them using HTML.

1.3k481.1k](/packages/iamcal-php-emoji)[matthiasmullie/path-converter

Relative path converter

10229.6M7](/packages/matthiasmullie-path-converter)[ncjoes/office-converter

PHP Wrapper for LibreOffice

2431.2M4](/packages/ncjoes-office-converter)[henck/rtf-to-html

RTF to HTML converter in PHP

108785.6k1](/packages/henck-rtf-to-html)[nizsheanez/yii2-asset-converter

Less, Sass, Scss and Phamlp converter for Yii2. No system requires. yii2-composer support, Less autoupdate, customizing of output directory

64167.5k6](/packages/nizsheanez-yii2-asset-converter)

PHPackages © 2026

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