PHPackages                             dpolac/twig-const - 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. dpolac/twig-const

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

dpolac/twig-const
=================

Twig operator to access class constants

1.0.0(10y ago)125MITPHP ^5.4 || ^7.0

Since May 28Compare

[ Source](https://github.com/dpolac/twig-const)[ Packagist](https://packagist.org/packages/dpolac/twig-const)[ RSS](/packages/dpolac-twig-const/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/dpolac/twig-const).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3684d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e3aa57ed787cf1a5e1fcf86e280a903b8f93a60f7401d022df526c1f35f7a205?d=identicon)[dpolac](/maintainers/dpolac)

---

Top Contributors

[![dpolac](https://avatars.githubusercontent.com/u/18581845?v=4)](https://github.com/dpolac "dpolac (1 commits)")

---

Tags

twigconstantsconstoperator

### Embed Badge

![Health badge](/badges/dpolac-twig-const/health.svg)

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

###  Alternatives

[timber/timber

Create WordPress themes with beautiful OOP code and the Twig Template Engine

5.7k3.6M127](/packages/timber-timber)[twig/intl-extra

A Twig extension for Intl

36567.2M320](/packages/twig-intl-extra)[symfony/ux-twig-component

Twig components for Symfony

22017.2M313](/packages/symfony-ux-twig-component)[symfony/ux-live-component

Live components for Symfony

1636.5M115](/packages/symfony-ux-live-component)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

22919.7M81](/packages/twig-cssinliner-extra)[twig/inky-extra

A Twig extension for the inky email templating engine

16613.2M70](/packages/twig-inky-extra)

PHPackages © 2026

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