Download the PHP package wp-packagist/wp-cli-global-config-command without Composer

On this page you can find all versions of the php package wp-packagist/wp-cli-global-config-command. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-cli-global-config-command

WP-CLI Global Configuration Command

Build Status GitHub Packagist Version

WP-CLI has a series of global parameters (e.g. --path= and --user=) which work with all commands.

This config saved in config.yml or wp-cli.yml files. [WP-CLI Document].

With this package, you can easily add, delete or edit WP-CLI global parameters in the command line and you no longer need to edit the source settings file.


WP-CLI logo

Table of Contents

Installation

You can install this package with:

Installing this package requires WP-CLI v2 or greater. Update to the latest stable release with wp cli update.

Structure

For All commands in this package, you can use --local flag for process in a local config file current working directory [wp-cli.local.yml].

Commands

List of WP-CLI global config Commands:

Show list

For show list all global parameters:

also for show list of all global config in the current directory:

Set New Config

Structure:

For example, set new path:

Set new config with the boolean value
Set new config with the number value
Set new config with the array value

use JSON Format.

Set new config with the null value
Set new config with space in key
Set new config with empty value

Set new config with nested array key

you can use : caharacter per level.

example 2:

example 3:

disable plugin install command only in the current directory project.

Get Config Value

Structure:

For example:

or for local config:

Remove Config Value

Structure:

for example:

You can also nested key name in this command.

Reset Configuration

For local current directory config:

Author

Contributing

We appreciate you taking the initiative to contribute to this project.

Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation.

Reporting a bug

Think you’ve found a bug? We’d love for you to help us get it fixed. Before you create a new issue, you should search existing issues to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.

Creating a pull request

Want to contribute a new feature? Please first open a new issue to discuss whether the feature is a good fit for the project.

Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience:

  1. Create a feature branch for each contribution.
  2. Submit your pull request early for feedback.
  3. Follow PSR-2 Coding Standards.

All versions of wp-cli-global-config-command with dependencies

PHP Build Version
Package Version
Requires php Version ^5.5 || ^7.0
wp-packagist/wp-cli-helper Version >=1.0.2
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wp-packagist/wp-cli-global-config-command contains the following files

Loading the files please wait ....