PHPackages                             avro/case-bundle - 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. avro/case-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

avro/case-bundle
================

Symfony2 Case Converter Bundle

v0.1.2(13y ago)7103.1k↓19%3[1 issues](https://github.com/jdewit/AvroCaseBundle/issues)[1 PRs](https://github.com/jdewit/AvroCaseBundle/pulls)MITPHPPHP &gt;=5.3.2

Since Dec 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/jdewit/AvroCaseBundle)[ Packagist](https://packagist.org/packages/avro/case-bundle)[ Docs](http://github.com/jdewit/AvroCaseBundle)[ RSS](/packages/avro-case-bundle/feed)WikiDiscussions master Synced yesterday

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

AvroCaseBundle [![Build Status](https://camo.githubusercontent.com/055ebea3f153121dd78fb4e0882b5e56ea95970255203e4d4cc80eb40f311979/68747470733a2f2f7472617669732d63692e6f72672f6a64657769742f4176726f4361736542756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/jdewit/AvroCaseBundle)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#avrocasebundle-)

Convert strings or an array of strings to different case formats.

Supports: camelCase, PascalCase, Title Case, and underscore\_case.

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

[](#installation)

This bundle is listed on packagist.

Simply add it to your apps composer.json file

```
    "avro/case-bundle": "0.1.2"
```

Enable the bundle in the kernel:

```
// app/AppKernel.php

    new Avro\CaseBundle\AvroCaseBundle
```

Configuration
-------------

[](#configuration)

```
avro_case:
    use_twig: false #disable the twig extension (true by default)
```

Usage
-----

[](#usage)

```
$converter = $this->container->get('avro_case.converter');

$camelCaseFormat = $converter->toCamelCase($str);
$pascalCaseFormat = $converter->toPascalCase($str);
$titleCaseFormat = $converter->toTitleCase($str);
$underscoreCaseFormat = $converter->toUnderscoreCase($str);
```

The following filters are also available if you use Twig

```
    {{ var | camel }}
    {{ var | pascal }}
    {{ var | title }}
    {{ var | underscore }}
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% 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 ~24 days

Total

2

Last Release

4916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b43556a54d880ffb06c69ff48a730a1b6126d04cba4749ab7040723ba706407?d=identicon)[jdewit](/maintainers/jdewit)

---

Top Contributors

[![jdewit](https://avatars.githubusercontent.com/u/467498?v=4)](https://github.com/jdewit "jdewit (16 commits)")[![MisatoTremor](https://avatars.githubusercontent.com/u/3536384?v=4)](https://github.com/MisatoTremor "MisatoTremor (1 commits)")

---

Tags

convertertitlecamelpascal

### Embed Badge

![Health badge](/badges/avro-case-bundle/health.svg)

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

PHPackages © 2026

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