Skip to content

yireo-shopware6/shopware6-twig-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

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

Usage

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages