PHPackages                             glaubinix/silex-twig-engine - 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. glaubinix/silex-twig-engine

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

glaubinix/silex-twig-engine
===========================

TwigEngine service provider for silex

2.1(8y ago)01101MITPHP

Since Feb 5Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (5)Versions (6)Used By (1)

silex-twig-engine
=================

[](#silex-twig-engine)

Build status: [![Build Status](https://camo.githubusercontent.com/8dfcbd1437edf2565f0f18da9eab56d302e874c01001cc3a4ce0cfedf3c41135/68747470733a2f2f7472617669732d63692e6f72672f676c617562696e69782f73696c65782d747769672d656e67696e652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/glaubinix/silex-twig-engine)

There are a couple of symfony components out there which depend on the EngineInterface rather then depending on a specific template engine. This allows users with a different template engine to use the features too -&gt; YaY

Installation
------------

[](#installation)

The easiest way to install this library is to use [Composer](http://getcomposer.org/). Add the package "glaubinix/silex-twig-engine" to your composer.json.

```
{
    "require": {
        "glaubinix/silex-twig-engine": "@stable"
    }
}
```

Usage
-----

[](#usage)

```
// Register the twig service provider
$app->register(new \Silex\Provider\TwigServiceProvider(),
    [
    // your twig config
    ]
);

// Register the twig service provider
$app->register(new \Glaubinix\TwigEngine\TwigEngineServiceProvider());

// The engine is now available under the same identifier as in symfony
$app['templating']->render('template', []);
```

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

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

Total

4

Last Release

3047d ago

Major Versions

1.1.0 → 2.02016-05-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/2969e5fd81aa79b482a247226409a0b55ed82c4587d40264633425b6b4a22a21?d=identicon)[glaubinix](/maintainers/glaubinix)

---

Top Contributors

[![glaubinix](https://avatars.githubusercontent.com/u/442056?v=4)](https://github.com/glaubinix "glaubinix (14 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/glaubinix-silex-twig-engine/health.svg)

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

###  Alternatives

[symfony/twig-bundle

Provides a tight integration of Twig into the Symfony full-stack framework

2.5k193.3M2.4k](/packages/symfony-twig-bundle)[sonata-project/twig-extensions

Sonata twig extensions

9110.8M20](/packages/sonata-project-twig-extensions)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[tales-from-a-dev/flowbite-bundle

A Symfony form theme for Flowbite

86252.8k2](/packages/tales-from-a-dev-flowbite-bundle)[noiselabs/smarty-bundle

This Symfony bundle provides integration for the Smarty3 template engine.

53194.4k1](/packages/noiselabs-smarty-bundle)[hellonico/timber-dump-extension

Provides Symfony VarDumper component for Timber

31197.9k8](/packages/hellonico-timber-dump-extension)

PHPackages © 2026

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