PHPackages                             ruvents/twig-extensions - 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. ruvents/twig-extensions

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

ruvents/twig-extensions
=======================

RUVENTS Twig Extensions

3.2.2(8y ago)110.9k1MITPHPPHP ^7.0

Since Apr 28Pushed 8y ago4 watchersCompare

[ Source](https://github.com/vudaltsov-legacy/twig-extensions)[ Packagist](https://packagist.org/packages/ruvents/twig-extensions)[ RSS](/packages/ruvents-twig-extensions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (18)Used By (1)

RUVENTS Twig Extensions
=======================

[](#ruvents-twig-extensions)

Class Extension
---------------

[](#class-extension)

Helps to work with objects

### `instanceof(class_name)` test

[](#instanceofclass_name-test)

```
{% if object is instanceof('Namespace\\Class') %}
{% endif %}
```

Inflector Extension
-------------------

[](#inflector-extension)

Is useful for transforming strings. Internally uses the [Doctrine Inflector](https://packagist.org/packages/doctrine/inflector) library.

### `|underscorize` filter

[](#underscorize-filter)

```
{{ 'aliceInChains'|underscorize }} {# prints: alice_in_chains #}
{{ 'AliceInChains'|underscorize }} {# prints: alice_in_chains #}
```

### `|classify` filter

[](#classify-filter)

```
{{ 'alice_in_chains'|classify }} {# prints: AliceInChains #}
{{ 'aliceInChains'|underscorize }} {# prints: AliceInChains #}
```

### `|camelize` filter

[](#camelize-filter)

```
{{ 'alice_in_chains'|camelize }} {# prints: aliceInChains #}
{{ 'AliceInChains'|camelize }} {# prints: aliceInChains #}
```

### `|ucwords(delimiters=" \n\t\r\0\x0B-")` filter

[](#ucwordsdelimiters-ntr0x0b--filter)

Uppercases words with configurable delimeters between words

```
{{ 'hello sean'|ucwords }} {# prints: Hello Sean #}
```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

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

Recently: every ~55 days

Total

17

Last Release

2985d ago

Major Versions

1.0.1 → 2.0.02016-08-12

2.2.0 → 3.0.02017-06-26

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

3.0.0PHP ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/61151e00b05c30fe0324c6a17d010994832d3b46c67ab8cc1cf895455c08e59b?d=identicon)[RUVENTS](/maintainers/RUVENTS)

---

Top Contributors

[![vudaltsov](https://avatars.githubusercontent.com/u/2552865?v=4)](https://github.com/vudaltsov "vudaltsov (42 commits)")

### Embed Badge

![Health badge](/badges/ruvents-twig-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/ruvents-twig-extensions/health.svg)](https://phpackages.com/packages/ruvents-twig-extensions)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[symfony/ux-twig-component

Twig components for Symfony

21814.8M161](/packages/symfony-ux-twig-component)[friendsofsymfony/ckeditor-bundle

Provides a CKEditor integration for your Symfony project.

53014.3M49](/packages/friendsofsymfony-ckeditor-bundle)

PHPackages © 2026

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