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

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

harmstyler/twig-extensions
==========================

A set of twig extensions

1.0.0(12y ago)019MITPHP

Since May 30Pushed 12y ago1 watchersCompare

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

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

Twig Extensions
===============

[](#twig-extensions)

A work in progress set of Twig Extensions

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

[](#installation)

These Twig Extensions are registered at packagist as harmstyler/twig-extensions and can be easily installed using composer. Alternatively you can simply download the .zip and copy the file from the 'src' folder.

The extensions are designed to be used with Symfony

```
services:
  twig.extension.date:
    class: HarmsTyler\Twig\LinkToExtension
    tags:
      - { name: twig.extension }
```

### LinkTo Extension

[](#linkto-extension)

Extension will build out a link, requires link copy and path name to work. Optional html options can be sent in an array.

```
{{ link_to($link_copy, { 'path_name': { 'id': 1 } }, {'data-method': 'get', 'class': 'my-class'}) }}
```

will create

```
Upcoming Event
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

4416d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8df1bbf99ae2bb7326aee4492b0748077d993cd821baa287ef4b1916e4a67ab6?d=identicon)[harmstyler](/maintainers/harmstyler)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[mati365/ckeditor5-symfony

CKEditor 5 integration for Symfony

262.6k](/packages/mati365-ckeditor5-symfony)

PHPackages © 2026

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