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

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

matthewbaggett/twig-extension-transform
=======================================

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

v1.3(4y ago)06091GPL-3.0-or-laterPHPPHP ^7.4 || ^8.0

Since May 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/matthewbaggett/Twig-Transform-Extension)[ Packagist](https://packagist.org/packages/matthewbaggett/twig-extension-transform)[ RSS](/packages/matthewbaggett-twig-extension-transform/feed)WikiDiscussions master Synced 1mo 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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

1820d 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/matthewbaggett-twig-extension-transform/health.svg)

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

###  Alternatives

[stfalcon/tinymce-bundle

This Bundle integrates TinyMCE WYSIWYG editor into a Symfony2 project.

2692.9M24](/packages/stfalcon-tinymce-bundle)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[leapt/core-bundle

Symfony LeaptCoreBundle

2529.1k4](/packages/leapt-core-bundle)

PHPackages © 2026

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