2017 © Pedro Peláez
 

library env-vars-debug-bundle

Symfony bundle to list all the environment variables used in parameter definitions

image

aubry/env-vars-debug-bundle

Symfony bundle to list all the environment variables used in parameter definitions

  • Friday, July 27, 2018
  • by aubryfr
  • Repository
  • 0 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

debug-env-vars-bundle

Symfony bundle to list all the environment variables used in parameter definitions., (*1)

Any referenced environment variable will be listed : - unless it contains a transformer different to the following : "int", "string", "bool" - as mandatory unless an "env(*)" parameter is defined (see example), (*2)

Installation

composer require aubry/env-vars-debug-bundle

Register the bundle, in dev mode only :, (*3)

$bundles[] = new Aubry\EnvVarsDebug\Bundle\EnvVarsDebugBundle();

Usage

bin/console aubry:debug:env-vars

Example

For the given parameters (YAML) definition :, (*4)

parameters:
    param1: "%env(ENV_VAR_1)%"
    param2: "%env(int:ENV_VAR_2)%"
    env(ENV_VAR_3): "default value"
    param3: "%env(ENV_VAR_3)%"

the console command will output the following result :, (*5)

 Variable                     Mandatory    Type
---------------------------  -----------  ------
 ENV_VAR_1                    true         string
 ENV_VAR_2                    true         int
 ENV_VAR_3                    false        string

The Versions

27/07 2018

dev-master

9999999-dev

Symfony bundle to list all the environment variables used in parameter definitions

  Sources   Download

The Requires

 

by Aubry Pirian

27/07 2018

v1.1.1

1.1.1.0

Symfony bundle to list all the environment variables used in parameter definitions

  Sources   Download

The Requires

 

by Aubry Pirian

27/07 2018

v1.1.0

1.1.0.0

Symfony bundle to list all the environment variables used in parameter definitions

  Sources   Download

The Requires

 

by Aubry Pirian

27/07 2018

v1.0.0

1.0.0.0

Symfony bundle to list all the environment variables used in parameter definitions

  Sources   Download

The Requires

 

by Aubry Pirian