PHPackages                             yireo/shopware6-twig-env - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. yireo/shopware6-twig-env

ActiveShopware-platform-plugin[Utility &amp; Helpers](/categories/utility)

yireo/shopware6-twig-env
========================

Expose ENV variables to Twig

1.0.0(2y ago)07MITPHP

Since Sep 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/yireo-shopware6/shopware6-twig-env)[ Packagist](https://packagist.org/packages/yireo/shopware6-twig-env)[ RSS](/packages/yireo-shopware6-twig-env/feed)WikiDiscussions master Synced 2d ago

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

YireoTwigEnv
============

[](#yireotwigenv)

**Extremely simple Shopware 6 plugin that adds a Twig variable `env` with all environment variables. Mainly a proof of concept, but perhaps handy during development.**

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

[](#installation)

```
composer require yireo/shopware6-twig-env --dev
bin/console plugin:refresh
bin/console plugin:install --activate YireoTwigEnv
```

Usage
-----

[](#usage)

Just add a `{{ dump() }}` somewhere to your Twig templates. You'll see a variable `env` being added to the page.

###  Health Score

21

—

LowBetter than 17% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

1061d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yireo-shopware6-twig-env/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-shopware6-twig-env/health.svg)](https://phpackages.com/packages/yireo-shopware6-twig-env)
```

###  Alternatives

[frosh/tools

Provides some basic things for managing the Shopware Installation

88858.1k3](/packages/frosh-tools)[shopware/storefront

Storefront for Shopware

674.7M282](/packages/shopware-storefront)[shopware/production

176216.5k](/packages/shopware-production)[shopware/conflicts

Shopware 6 conflicting packages

159.7M12](/packages/shopware-conflicts)[shopware/elasticsearch

Elasticsearch for Shopware

144.1M21](/packages/shopware-elasticsearch)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25119.6k](/packages/adyen-adyen-shopware6)

PHPackages © 2026

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