2017 © Pedro Peláez
 

wordpress-muplugin wpenv

Environment-specific control over WordPress Options and more

image

aaemnnosttv/wpenv

Environment-specific control over WordPress Options and more

  • Friday, July 31, 2015
  • by aaemnnosttv
  • Repository
  • 1 Watchers
  • 3 Stars
  • 1,028 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 27 % Grown

The README.md

WPEnv

Environment-specific Control for WordPress

Inspired by phpdotenv for establishing environment variables, WPEnv allows WordPress-specific configuration at the environment level., (*1)

At present, WPEnv simply provides a way for manipulating WordPress options (get_option()), by hard-coding the values in a .wpenv.yml file., (*2)

Unlike Dotenv, WPEnv values are defined in a Yaml file, which allows us to store complex values like arrays, integers or boolean values, rather than just strings., (*3)

WPEnv modifies the return value of the options we want to control. Simple values are replaced by the values defined in .wpenv.yml.
Arrays are merged on top of the returned value (if it is an array), otherwise all defined values simply become the returned value., (*4)

Getting Started

The Versions

31/07 2015

dev-master

9999999-dev

Environment-specific control over WordPress Options and more

  Sources   Download

The Requires

 

The Development Requires

31/07 2015

v0.2

0.2.0.0

Environment-specific control over WordPress Options and more

  Sources   Download

The Requires

 

The Development Requires

02/06 2015

dev-develop

dev-develop

Environment-specific control over WordPress Options and more

  Sources   Download

The Requires

 

The Development Requires

04/12 2014

v0.1

0.1.0.0

Environment-specific control

  Sources   Download

MIT License

The Requires