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.3.8(4y ago)21502PHP

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 1mo ago

READMEChangelogDependenciesVersions (2)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

30

—

LowBetter than 64% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity49

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

1547d 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

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[mopa/bootstrap-bundle

Easy integration of twitters bootstrap into symfony2

7042.9M33](/packages/mopa-bootstrap-bundle)[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3871.2M](/packages/limenius-react-bundle)[nicmart/string-template

StringTemplate is a very simple string template engine for php. I've written it to have a thing like sprintf, but with named and nested substutions.

2101.7M30](/packages/nicmart-string-template)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

555.8M69](/packages/symfony-ux-icons)

PHPackages © 2026

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