PHPackages                             pnktweb/craft-camelcase-to-kebabcase - 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. [Templating &amp; Views](/categories/templating)
4. /
5. pnktweb/craft-camelcase-to-kebabcase

ActiveLibrary[Templating &amp; Views](/categories/templating)

pnktweb/craft-camelcase-to-kebabcase
====================================

Adds `cc2kc` filter and function to Twig

v1.1(8y ago)2382[1 issues](https://github.com/pnktweb/craft-camelcase-to-kebabcase/issues)MITPHPPHP ^7.0

Since Jun 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pnktweb/craft-camelcase-to-kebabcase)[ Packagist](https://packagist.org/packages/pnktweb/craft-camelcase-to-kebabcase)[ Docs](https://github.com/pnktweb/craft-camelcase-to-kebabcase)[ RSS](/packages/pnktweb-craft-camelcase-to-kebabcase/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Craft camelCase to kebab-case
=============================

[](#craft-camelcase-to-kebab-case)

Adds `cc2kc` filter and function to Twig.

Usage
-----

[](#usage)

`{{ var | cc2kc }}`

or

`{{ cc2kc(var) }}`

Example
-------

[](#example)

`{{ entry.type.handle | cc2kc }}`

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

Unknown

Total

1

Last Release

2925d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2255960?v=4)[Daniel Skogly](/maintainers/poacher2k)[@poacher2k](https://github.com/poacher2k)

---

Top Contributors

[![poacher2k](https://avatars.githubusercontent.com/u/2255960?v=4)](https://github.com/poacher2k "poacher2k (3 commits)")[![benjaminmodayil](https://avatars.githubusercontent.com/u/12306850?v=4)](https://github.com/benjaminmodayil "benjaminmodayil (1 commits)")

---

Tags

Craftcraftcmscamelcasecraft cmskebabcase

### Embed Badge

![Health badge](/badges/pnktweb-craft-camelcase-to-kebabcase/health.svg)

```
[![Health](https://phpackages.com/badges/pnktweb-craft-camelcase-to-kebabcase/health.svg)](https://phpackages.com/packages/pnktweb-craft-camelcase-to-kebabcase)
```

###  Alternatives

[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.7k](/packages/lewisjenkins-craft-dynamic-fields)[mmikkel/retcon

Powerful Twig filters for mutating and querying HTML

80185.2k12](/packages/mmikkel-retcon)[nystudio107/craft-cookies

A simple plugin for setting and getting cookies from within Craft CMS templates.

37496.6k6](/packages/nystudio107-craft-cookies)[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

36466.3k34](/packages/nystudio107-craft-minify)[nystudio107/craft-autocomplete

Provides Twig template IDE autocomplete of Craft CMS &amp; plugin variables

43218.1k16](/packages/nystudio107-craft-autocomplete)[marionnewlevant/twig-perversion

Making twig do things it really shouldn't

5466.0k1](/packages/marionnewlevant-twig-perversion)

PHPackages © 2026

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