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 yesterday

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 35% 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

4352d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/206569?v=4)[Bernard van Niekerk](/maintainers/frizzy)[@frizzy](https://github.com/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/intl-extra

A Twig extension for Intl

36567.2M322](/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.5M116](/packages/symfony-ux-live-component)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

22919.7M82](/packages/twig-cssinliner-extra)[twig/markdown-extra

A Twig extension for Markdown

12115.5M120](/packages/twig-markdown-extra)[symfony/ux-toolkit

A tool to easily create a design system in your Symfony app with customizable, well-crafted Twig components

1682.8k1](/packages/symfony-ux-toolkit)

PHPackages © 2026

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