2017 © Pedro Peláez
 

library wp-config

Consistent WordPress configuration across environments.

image

ixa/wp-config

Consistent WordPress configuration across environments.

  • Thursday, August 21, 2014
  • by cesarhdz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 117 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Ixa WP-Config

WordPress configuration consistent across environments., (*1)

Installation

It can be installed using Composer:, (*2)

$ composer require ixa/wp-config 0.2

Usage

Ixa Wp-Config is meant to be used in wp-config.php file, this is the recommended way to use it:, (*3)

`````php, (*4)

use Ixa\WordPress\Configuration\Config;, (*5)

require_once 'vendor/autoload.php';, (*6)

// Load Config from config/ folder $config = new Config(dirname(FILE) . '/config'); $config->load();, (*7)

// ... define all variables and require wp-settings, (*8)


## Configuration Folder Ixa Wp-Config requires to define a folder in which the configuration will be placed. ### Environment Configuration The configuration folder must contain a file named `.env.yml` with the following variables. ````yaml parameters: # Environment environment: dev # Database Credentials db_name: wordpress db_user: root db_password: "" db_host: localhost # Site URL wp_home: http://localhost:1234/

All variables are required and must be placed under parameters. This is because the .env.yml file can be generated dynamically using Incenteev/ParameterHandler., (*9)

The Versions

21/08 2014

dev-develop

dev-develop

Consistent WordPress configuration across environments.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Cesar Hernandez

17/02 2014

dev-master

9999999-dev

WordPress Configurator Alternative

  Sources   Download

MIT

The Requires

 

by Cesar Hernandez

17/02 2014

0.2

0.2.0.0

WordPress Configurator Alternative

  Sources   Download

MIT

The Requires

 

by Cesar Hernandez

15/02 2014

dev-feature/envars

dev-feature/envars

WordPress Configurator Alternative

  Sources   Download

MIT

The Requires

 

by Cesar Hernandez

15/02 2014

dev-feature/config-loader

dev-feature/config-loader

WordPress Configurator Alternative

  Sources   Download

MIT

The Requires

 

by Cesar Hernandez