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

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

elightup/twig
=============

3.11.3(2w ago)22082PHP

Since Feb 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/elightup/twig)[ Packagist](https://packagist.org/packages/elightup/twig)[ RSS](/packages/elightup-twig/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (2)

This is a mirror of `twig/twig` which is used to prevent conflicts when other plugins use a different version of Twig inside WordPress.

This package is used in:

- [MB Views](https://metabox.io/plugins/mb-views/)
- [MB Builder](https://metabox.io/plugins/meta-box-builder/)
- [Slim SEO Schema](https://metabox.io/plugins/slim-seo-schema/)

Making this package helps reduce duplication, especially in Meta Box AIO.

To make it less confusing, the version of this package is the same as Twig.

This package is created using [Mozart](https://github.com/coenjacobs/mozart), a briliant tool for WordPress developers.

How to build the package
------------------------

[](#how-to-build-the-package)

Install mozart globally

Run the following commands:

```
composer require twig/twig

```

Usage
-----

[](#usage)

Instead if use a `Twig` class like `Twig\ClassName`, you need to prepend `eLightup\` to the class name, e.g.: `eLightUp\Twig\ClassName`.

Notes
-----

[](#notes)

The package includes a `twig.php` file, which acts like a plugin bootstrap file for WordPress. This helps you just enable this plugin inside WordPress for testing before bundling it into plugins.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance64

Regular maintenance activity

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

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

Every ~1618 days

Total

2

Last Release

20d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/668274?v=4)[Anh Tran](/maintainers/rilwis)[@rilwis](https://github.com/rilwis)

---

Top Contributors

[![rilwis](https://avatars.githubusercontent.com/u/668274?v=4)](https://github.com/rilwis "rilwis (8 commits)")

### Embed Badge

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

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

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3841.2M](/packages/limenius-react-bundle)[pdewit/nova-external-url

An external URL Laravel Nova field.

30383.2k](/packages/pdewit-nova-external-url)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[localgovdrupal/localgov_base

The base theme for LocalGov Drupal websites.

13126.9k5](/packages/localgovdrupal-localgov-base)

PHPackages © 2026

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