PHPackages                             frizzy/slim-twig-extension - 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. frizzy/slim-twig-extension

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

frizzy/slim-twig-extension
==========================

Twig extension for the Slim framework

0.1.2(11y ago)1144MITPHPPHP &gt;=5.3.0

Since Nov 19Pushed 11y ago1 watchersCompare

[ Source](https://github.com/frizzy/SlimTwigExtension)[ Packagist](https://packagist.org/packages/frizzy/slim-twig-extension)[ Docs](https://github.com/frizzy/SlimTwigExtension)[ RSS](/packages/frizzy-slim-twig-extension/feed)WikiDiscussions master Synced 2mo ago

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

Slim Framework Twig Extension
=============================

[](#slim-framework-twig-extension)

Usage
-----

[](#usage)

Add the following to your root composer.json file:

```
{
    "require": {
        "frizzy/slim-twig-extension": "0.1.*"
    }
}

```

Add the extension to your Twig environment:

```

```

Functions available in Twig:

- render\_route\_name
- render\_route\_path
- render\_template
- path
- url

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

3

Last Release

4303d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/964dbd6d4daa4dd21579617c8c7ad6a8b3648e2411772e8d0a6779a63c476ecf?d=identicon)[frizzy](/maintainers/frizzy)

---

Tags

twigslim

### Embed Badge

![Health badge](/badges/frizzy-slim-twig-extension/health.svg)

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M315](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M221](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

21946.0M133](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M55](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21814.8M162](/packages/symfony-ux-twig-component)

PHPackages © 2026

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