PHPackages                             gone.io/twig-extension-transform - 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. gone.io/twig-extension-transform

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

gone.io/twig-extension-transform
================================

Add the ability to transform from one case style to another programatically.

v1.3(5y ago)07.3k1GPL-3.0-or-laterPHPPHP ^7.4 || ^8.0CI failing

Since May 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/goneio/Twig-Transform-Extension)[ Packagist](https://packagist.org/packages/gone.io/twig-extension-transform)[ RSS](/packages/goneio-twig-extension-transform/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (1)

Twig-Transform
==============

[](#twig-transform)

[![Build Status](https://camo.githubusercontent.com/b3d8823f4512f4f09144eeca5746781e0837714223378d2a0c1a080b650a54d3/68747470733a2f2f7472617669732d63692e6f72672f6d617474686577626167676574742f547769672d5472616e73666f726d2d457874656e73696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matthewbaggett/Twig-Transform-Extension)

Add the ability to transform from one case style to another programatically.

Example:

`{{ input|transform_camel_to_snake }}` will output `this_is_an_example` for the input `thisIsAnExample`

\###Supported transformers:

Any combination of the following:

- Camel `thisIsAnExample`
- Snake `this_is_an_example`
- Screaming Snake `THIS_IS_AN_EXAMPLE`
- Spinal `this-is-an-example`
- Studly Caps `ThisIsAnExample`

using the format 'transform-`from`-to-`target`'

#### Credits

[](#credits)

Written ontop of the wonderful [Camel](https://github.com/MattKetmo/camel) package written by `Matthieu Moquet`

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

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

Total

4

Last Release

1866d ago

PHP version history (3 changes)v1.0PHP ^7.0

v1.1PHP ^7.0 || ^8.0

v1.2PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5707be384b9daab9858223c5dfead9d692e8b5f6afa8dd23ad5c5cbc149316b2?d=identicon)[matthewbaggett](/maintainers/matthewbaggett)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/goneio-twig-extension-transform/health.svg)

```
[![Health](https://phpackages.com/badges/goneio-twig-extension-transform/health.svg)](https://phpackages.com/packages/goneio-twig-extension-transform)
```

PHPackages © 2026

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