ravenflux/env-in-twig

Twig extension that implements getenv in Twig template

1.0.0 2019-05-14 20:12 UTC

This package is auto-updated.

Last update: 2019-11-07 22:43:35 UTC


README

Latest Stable Version Latest Unstable Version License Total Downloads

ravenflux.jpg

Twig extension that implements getenv in Twig template.

Installation

The recommended way to install is via Composer:

composer require ravenflux/env-in-twig

Usage

{{ getenv('APP_ENV') }}