Download the PHP package sympress/wp-cli-console without Composer

On this page you can find all versions of the php package sympress/wp-cli-console. 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-console

SymPress WP-CLI Console

Checks Release PHP Downloads

Symfony Console wrappers for useful WP-CLI workflows in SymPress WordPress kernel applications.

The package exposes common WP-CLI operations as Symfony Console commands. It is distributed as a Composer-powered WordPress MU plugin and integrates with the SymPress kernel service container.

Installation

The package requires PHP 8.5, WordPress 6.9 or newer, sympress/kernel, and symfony/console.

Features

Commands

Usage

When the SymPress kernel discovers the package, it registers SymPress\WpCliConsole\WpCliConsoleBundle and loads wp-cli-console/wp-cli-console.php as the MU plugin entry point.

Commands are autoconfigured from src/Command and can be run through the project's Symfony Console entry point:

The runner executes WP-CLI from the kernel project directory and falls back to the global wp binary when vendor/bin/wp is not executable.

Development

License

This package is licensed under GPL-2.0-or-later.

Release archives

The archive workflow and archive check use the reviewed reusable workflow commit 2ebe47e2bc6d402c172015b64c0f5a9f2bf0c322. Releases install production Composer dependencies and include the artifact manifest and checksums. Tests, development documentation, QA configuration and coverage output are excluded. Source ZIPs also use .gitattributes export exclusions. Artifact attestation remains disabled.

Version 1.0.4 resolves the native-runner Plugin Check findings in a fresh archive; earlier tags and published archives retain their original contents. The new archive must pass the hosted archive check before it is attached to the release.

The only native process boundary passes a resolved WP-CLI executable and argument array to proc_open(), with no shell. Its call-specific PHPCS exceptions also cover private subprocess pipes; WP_Filesystem cannot manage those streams. HTTP_HOST and SERVER_NAME retain valid DNS/IP values and optional TCP ports. Invalid values, control characters and URLs fall back to localhost; WordPress text sanitization or unslashing would change these CLI environment tokens. These exceptions travel with the production source and do not disable archive checks or unrelated process, filesystem and input-validation checks.

Positional value validation

Externally supplied positional option names are validated before invoking the runner: empty/whitespace-only names, NUL, and leading option flags (including --exec, --require, --ssh, --path, --url and short flags) are rejected. Legitimate underscore/hyphen option names remain accepted. Runner-generated global/options arguments continue to be passed as argv entries; shell escaping alone cannot prevent WP-CLI global flag injection through an untrusted positional value.


All versions of wp-cli-console with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
sympress/kernel Version ^1.1.19
symfony/console Version ^8.0
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 sympress/wp-cli-console contains the following files

Loading the files please wait ...