PHPackages                             jhae/shopware-6-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. jhae/shopware-6-twig-extensions

AbandonedArchivedShopware-platform-plugin[Templating &amp; Views](/categories/templating)

jhae/shopware-6-twig-extensions
===============================

Shopware 6 Twig extensions

v1.0.0(3y ago)317MITPHPCI passing

Since Sep 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jhae-de/shopware-6-twig-extensions)[ Packagist](https://packagist.org/packages/jhae/shopware-6-twig-extensions)[ RSS](/packages/jhae-shopware-6-twig-extensions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (1)Used By (0)

[![Version](https://camo.githubusercontent.com/7f4e2ca605d9b8c6f0879884af5a64d3f7a0835fc20639ff219ca6b89e2275ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6861652f73686f70776172652d362d747769672d657874656e73696f6e733f6c6162656c3d56657273696f6e)](https://camo.githubusercontent.com/7f4e2ca605d9b8c6f0879884af5a64d3f7a0835fc20639ff219ca6b89e2275ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6861652f73686f70776172652d362d747769672d657874656e73696f6e733f6c6162656c3d56657273696f6e)[![License](https://camo.githubusercontent.com/b350c214be5f9fdfe8c6b20c912239b6d28472e9b71c09b1a0c39ddf2aaa52d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6861652f73686f70776172652d362d747769672d657874656e73696f6e733f6c6162656c3d4c6963656e736526636f6c6f723d6c6967687467726579)](https://camo.githubusercontent.com/b350c214be5f9fdfe8c6b20c912239b6d28472e9b71c09b1a0c39ddf2aaa52d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6861652f73686f70776172652d362d747769672d657874656e73696f6e733f6c6162656c3d4c6963656e736526636f6c6f723d6c6967687467726579)[![Tests](https://camo.githubusercontent.com/aefa0fc5b251a9457be983297eec64044490e2a75deaf87e601d51cc8d1e9ab3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6861652d64652f73686f70776172652d362d747769672d657874656e73696f6e732f6d61696e2e79616d6c3f6c6162656c3d5465737473)](https://camo.githubusercontent.com/aefa0fc5b251a9457be983297eec64044490e2a75deaf87e601d51cc8d1e9ab3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6861652d64652f73686f70776172652d362d747769672d657874656e73696f6e732f6d61696e2e79616d6c3f6c6162656c3d5465737473)[![Coverage](https://camo.githubusercontent.com/a7a127e1513ddcce9e2164c878611e494faa5c2b68af887c1bc3b5f8081cedb6/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6a6861652d64652f73686f70776172652d362d747769672d657874656e73696f6e732f6d61696e3f6c6162656c3d436f766572616765)](https://camo.githubusercontent.com/a7a127e1513ddcce9e2164c878611e494faa5c2b68af887c1bc3b5f8081cedb6/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6a6861652d64652f73686f70776172652d362d747769672d657874656e73696f6e732f6d61696e3f6c6162656c3d436f766572616765)

Warning

This repository is no longer maintained and was archived on January 11, 2025.

The package [jhae/shopware-6-twig-extensions](https://packagist.org/packages/jhae/shopware-6-twig-extensions) has been marked as abandoned. There is currently no replacement.

---

Shopware 6 Twig Extensions
==========================

[](#shopware-6-twig-extensions)

This Shopware 6 plugin adds more Twig features.

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

[](#installation)

1. Navigate to the root folder of your Shopware installation.
2. Download the plugin. ```
    composer require jhae/shopware-6-twig-extensions
    ```
3. Refresh the Shopware plugin list. ```
    ./bin/console plugin:refresh
    ```
4. Install and activate the plugin. ```
    ./bin/console plugin:install --activate JhaeTwigExtensions
    ```

You are ready to use the Twig extensions in your templates.

Twig functions
--------------

[](#twig-functions)

### sw\_cms\_page

[](#sw_cms_page)

This function allows you to include any CMS page you created in "Content / Shopping Experiences".

#### Usage

[](#usage)

```
{{ sw_cms_page(id) }}
```

#### Parameters

[](#parameters)

NameTypeDescription`id``string`The ID of the CMS page.
Example: `'c00dd7c0b7684ebca451f49dd6e636aa'`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

1325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6382af506b1ef555ee0eb725bdfa782d0bf0d9fa0b930289e3f546663c6a952?d=identicon)[jhae-de](/maintainers/jhae-de)

---

Top Contributors

[![jhae-de](https://avatars.githubusercontent.com/u/28291021?v=4)](https://github.com/jhae-de "jhae-de (20 commits)")

---

Tags

plugintwigpageshopwaretemplatecmsextensionshoppingexperience

### Embed Badge

![Health badge](/badges/jhae-shopware-6-twig-extensions/health.svg)

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

###  Alternatives

[shoot/shoot

Shoot aims to make providing data to your templates more manageable

40229.9k2](/packages/shoot-shoot)[nystudio107/craft-autocomplete

Provides Twig template IDE autocomplete of Craft CMS &amp; plugin variables

44204.4k13](/packages/nystudio107-craft-autocomplete)[brackets/admin-ui

Administration user interface template

29258.6k3](/packages/brackets-admin-ui)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)

PHPackages © 2026

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