2017 © Pedro Peláez
 

wp-cli-package localconfig

Creates a local config for any WordPress installation, based on a few questions you get asked.

image

redkiwi-nl/localconfig

Creates a local config for any WordPress installation, based on a few questions you get asked.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

redkiwi-nl/local-config

Build Status, (*1)

Quick links: Installing | Explanation | Examples | Contributing, (*2)

Installing

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with wp cli update., (*3)

Once you've done so, you can install this package with wp package install redkiwi-nl/localconfig, (*4)

Explanation

A fairly basic package that allows you to create a local config with at least the following constants:, (*5)

'WP_ROOT_URL'
'WP_HOME'
'WP_SITEURL_APPEND'
'DB_NAME'
'DB_USER'
'DB_PASSWORD'
'DB_HOST'
'WP_CACHE'

These constants will be asked as a question, to fill in the php document after., (*6)

Whereas you can also add extra constants to be filled using [--fields=], which is comma separated, (*7)

Examples

wp local-config create
wp local-config create --file=my_custom_local_config.php
wp local-config create --fields=extra_constant,another_constant
wp local-config create --fields=extra_constant,another_constant --fields_lowercase

Contributing

Code and ideas are more than welcome., (*8)

Please open an issue with questions, feedback, and violent dissent. Pull requests are expected to include test coverage., (*9)

The Versions

12/11 2016

dev-master

9999999-dev

Creates a local config for any WordPress installation, based on a few questions you get asked.

  Sources   Download

MIT

The Development Requires

  • php >=5.6

08/06 2016

0.3.1

0.3.1.0

Creates a local config for any WordPress installation, based on a few questions you get asked.

  Sources   Download

MIT

The Development Requires

  • php >=5.6

07/06 2016

0.3

0.3.0.0

  Sources   Download

MIT

The Development Requires

  • php >=5.6

07/06 2016

0.2.2

0.2.2.0

  Sources   Download

MIT

The Development Requires

07/06 2016

0.2.1

0.2.1.0

  Sources   Download

MIT

The Development Requires

07/06 2016

0.1

0.1.0.0

  Sources   Download

MIT

The Development Requires