PHPackages                             kirtangajjar/ee - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. kirtangajjar/ee

ActiveLibrary[CLI &amp; Console](/categories/cli)

kirtangajjar/ee
===============

The command line interface for WordPress

4.0.0(8y ago)17MITPHPPHP &gt;=5.3.29

Since Feb 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/kirtangajjar/ee4)[ Packagist](https://packagist.org/packages/kirtangajjar/ee)[ Docs](https://ee.org)[ RSS](/packages/kirtangajjar-ee/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (6)Dependencies (28)Versions (8)Used By (0)

EE
==

[](#ee)

[EE](https://ee.org/) is the command-line interface for [WordPress](https://wordpress.org/). You can update plugins, configure multisite installs and much more, without using a web browser.

Ongoing maintenance is [made possible by](https://make.wordpress.org/cli/2017/04/03/new-co-maintainer-alain-thanks-2017-sponsors/#sponsors):

[![](https://camo.githubusercontent.com/851aa9be8c70b0157e97f1867c288b09ca31883265c48516e5254f5ee4f8abc7/68747470733a2f2f6d616b652e776f726470726573732e6f72672f636c692f66696c65732f323031372f30342f6175746f6d61747469632d312e706e67)](https://automattic.com/) [![](https://camo.githubusercontent.com/c2e84c020fa53c35b3b86f0c85932451944957236d2519180999e0e0f9cde6d1/68747470733a2f2f6d616b652e776f726470726573732e6f72672f636c692f66696c65732f323031372f30342f626c7565686f73742e706e67)](https://www.bluehost.com/) [![](https://camo.githubusercontent.com/8474ed058a4e9a3f45f988dcf31a6819e63aec9a2172516a8d5498e9b3161a30/68747470733a2f2f6d616b652e776f726470726573732e6f72672f636c692f66696c65732f323031372f30342f647265616d686f73742e706e67)](https://www.dreamhost.com/) [![](https://camo.githubusercontent.com/9088ebc8c0815899a3b72c0d46f60771d5ede9caf6cca9a4b2a7ea9268d9141b/68747470733a2f2f6d616b652e776f726470726573732e6f72672f636c692f66696c65732f323031372f30342f7369746567726f756e642e706e67)](https://www.siteground.com/) [![](https://camo.githubusercontent.com/f08f3505eb6e6e6e4452340dc7f7208f2958457ec7316b0fee207375d00c0898/68747470733a2f2f6d616b652e776f726470726573732e6f72672f636c692f66696c65732f323031372f30342f7770656e67696e652e706e67)](https://wpengine.com/)

The current stable release is [version 1.5.0](https://make.wordpress.org/cli/2018/01/31/version-1-5-0-released/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases.

[![Build Status](https://camo.githubusercontent.com/974af46b0ddeba268f7f2919b17fc0394a813f811c42bd4d551d5928a86345b0/68747470733a2f2f7472617669732d63692e6f72672f65652f65652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ee/ee) [![Dependency Status](https://camo.githubusercontent.com/e6b6b05aaa1b3ab62e693113ce170159e008fd2ce28cb9e1716eccd4082052e3/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f65652f65652e737667)](https://gemnasium.com/github.com/ee/ee) [![Average time to resolve an issue](https://camo.githubusercontent.com/f0db94a7bdce63e8b2ab68faa111ea3d3740c30de4c2c2cb63733824e6a81a31/68747470733a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f65652f65652e737667)](https://isitmaintained.com/project/ee/ee "Average time to resolve an issue") [![Percentage of issues still open](https://camo.githubusercontent.com/38f96147b8ec21c014b49478d8f42439b08ce2bcee64978bf18659a082e26092/68747470733a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f65652f65652e737667)](https://isitmaintained.com/project/ee/ee "Percentage of issues still open")

Quick links: [Using](#using) | [Installing](#installing) | [Support](#support) | [Extending](#extending) | [Contributing](#contributing) | [Credits](#credits)

Using
-----

[](#using)

EE provides a command-line interface for many actions you might perform in the WordPress admin. For instance, `wp plugin install --activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) lets you install and activate a WordPress plugin:

```
$ wp plugin install user-switching --activate
Installing User Switching (1.0.9)
Downloading install package from https://downloads.wordpress.org/plugin/user-switching.1.0.9.zip...
Unpacking the package...
Installing the plugin...
Plugin installed successfully.
Activating 'user-switching'...
Plugin 'user-switching' activated.
Success: Installed 1 of 1 plugins.
```

EE also includes commands for many things you can't do in the WordPress admin. For example, `wp transient delete --all` ([doc](https://developer.wordpress.org/cli/commands/transient/delete/)) lets you delete one or all transients:

```
$ wp transient delete --all
Success: 34 transients deleted from the database.
```

For a more complete introduction to using EE, read the [Quick Start guide](https://make.wordpress.org/cli/handbook/quick-start/). Or, catch up with [shell friends](https://make.wordpress.org/cli/handbook/shell-friends/) to learn about helpful command line utilities.

Already feel comfortable with the basics? Jump into the [complete list of commands](https://developer.wordpress.org/cli/commands/) for detailed information on managing themes and plugins, importing and exporting data, performing database search-replace operations and more.

Installing
----------

[](#installing)

Downloading the Phar file is our recommended installation method for most users. Should you need, see also our documentation on [alternative installation methods](https://make.wordpress.org/cli/handbook/installing/).

Before installing EE, please make sure your environment meets the minimum requirements:

- UNIX-like environment (OS X, Linux, FreeBSD, Cygwin); limited support in Windows environment
- PHP 5.3.29 or later
- WordPress 3.7 or later. Versions older than the latest WordPress release may have degraded functionality

Once you've verified requirements, download the [ee.phar](https://raw.github.com/ee/builds/gh-pages/phar/ee.phar) file using `wget` or `curl`:

```
curl -O https://raw.githubusercontent.com/ee/builds/gh-pages/phar/ee.phar
```

Next, check the Phar file to verify that it's working:

```
php ee.phar --info
```

To use EE from the command line by typing `wp`, make the file executable and move it to somewhere in your PATH. For example:

```
chmod +x ee.phar
sudo mv ee.phar /usr/local/bin/wp
```

If EE was installed successfully, you should see something like this when you run `wp --info`:

```
$ wp --info
OS:	Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
Shell:	/bin/zsh
PHP binary:    /usr/local/bin/php
PHP version:    7.0.22
php.ini used:   /etc/local/etc/php/7.0/php.ini
EE root dir:        /home/ee/.ee
EE vendor dir:	    /home/ee/.ee/vendor
EE packages dir:    /home/ee/.ee/packages/
EE global config:   /home/ee/.ee/config.yml
EE project config:
EE version: 1.5.0
```

### Updating

[](#updating)

You can update EE with `wp cli update` ([doc](https://developer.wordpress.org/cli/commands/cli/update/)), or by repeating the installation steps.

If EE is owned by root or another system user, you'll need to run `sudo wp cli update`.

Want to live life on the edge? Run `wp cli update --nightly` to use the latest nightly build of EE. The nightly build is more or less stable enough for you to use in your development environment, and always includes the latest and greatest EE features.

### Tab completions

[](#tab-completions)

EE also comes with a tab completion script for Bash and ZSH. Just download [wp-completion.bash](https://raw.githubusercontent.com/ee/ee/master/utils/wp-completion.bash) and source it from `~/.bash_profile`:

```
source /FULL/PATH/TO/wp-completion.bash
```

Don't forget to run `source ~/.bash_profile` afterwards.

If using zsh for your shell, you may need to load and start `bashcompinit` before sourcing. Put the following in your `.zshrc`:

```
autoload bashcompinit
bashcompinit
source /FULL/PATH/TO/wp-completion.bash
```

Support
-------

[](#support)

EE's maintainers and contributors have limited availability to address general support questions. The [current version of EE](https://make.wordpress.org/cli/handbook/roadmap/) is the only officially supported version.

When looking for support, please first search for your question in these venues:

- [Common issues and their fixes](https://make.wordpress.org/cli/handbook/common-issues/)
- [EE handbook](https://make.wordpress.org/cli/handbook/)
- [Open or closed issues in the EE GitHub organization](https://github.com/issues?utf8=%E2%9C%93&q=sort%3Aupdated-desc+org%3Aee+is%3Aissue)
- [Threads tagged 'EE' in the WordPress.org support forum](https://wordpress.org/support/topic-tag/ee/)
- [Questions tagged 'EE' in the WordPress StackExchange](https://wordpress.stackexchange.com/questions/tagged/ee)

If you didn't find an answer in one of the venues above, you can:

- Join the `#cli` channel in the [WordPress.org Slack](https://make.wordpress.org/chat/) to chat with whomever might be available at the time. This option is best for quick questions.
- [Post a new thread](https://wordpress.org/support/forum/wp-advanced/#new-post) in the WordPress.org support forum and tag it 'EE' so it's seen by the community.

GitHub issues are meant for tracking enhancements to and bugs of existing commands, not general support. Before submitting a bug report, please [review our best practices](https://make.wordpress.org/cli/handbook/bug-reports/) to help ensure your issue is addressed in a timely manner.

Please do not ask support questions on Twitter. Twitter isn't an acceptable venue for support because: 1) it's hard to hold conversations in under 140 characters, and 2) Twitter isn't a place where someone with your same question can search for an answer in a prior conversation.

Remember, libre != gratis; the open source license grants you the freedom to use and modify, but not commitments of other people's time. Please be respectful, and set your expectations accordingly.

Extending
---------

[](#extending)

A **command** is the atomic unit of EE functionality. `wp plugin install` ([doc](https://developer.wordpress.org/cli/commands/plugin/install/)) is one command. `wp plugin activate` ([doc](https://developer.wordpress.org/cli/commands/plugin/activate/)) is another.

EE supports registering any callable class, function, or closure as a command. It reads usage details from the callback's PHPdoc. `EE::add_command()` ([doc](https://make.wordpress.org/cli/handbook/internal-api/ee-add-command/)) is used for both internal and third-party command registration.

```
/**
 * Delete an option from the database.
 *
 * Returns an error if the option didn't exist.
 *
 * ## OPTIONS
 *
 *
 * : Key for the option.
 *
 * ## EXAMPLES
 *
 *     $ wp option delete my_option
 *     Success: Deleted 'my_option' option.
 */
$delete_option_cmd = function( $args ) {
	list( $key ) = $args;

	if ( ! delete_option( $key ) ) {
		EE::error( "Could not delete '$key' option. Does it exist?" );
	} else {
		EE::success( "Deleted '$key' option." );
	}
};
EE::add_command( 'option delete', $delete_option_cmd );
```

EE comes with dozens of commands. It's easier than it looks to create a custom EE command. Read the [commands cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/) to learn more. Browse the [internal API docs](https://make.wordpress.org/cli/handbook/internal-api/) to discover a variety of helpful functions you can use in your custom EE command.

Contributing
------------

[](#contributing)

We appreciate you taking the initiative to contribute to EE. It’s because of you, and the community around you, that EE is such a great 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.

Read through our [contributing guidelines in the handbook](https://make.wordpress.org/cli/handbook/contributing/) for a thorough introduction to how you can get involved. Following these guidelines helps to communicate that you respect the time of other contributors on the project. In turn, they’ll do their best to reciprocate that respect when working with you, across timezones and around the world.

Leadership
----------

[](#leadership)

EE has two project maintainers: [danielbachhuber](https://github.com/danielbachhuber) and [schlessera](http://github.com/schlessera).

On occasion, we [grant write access to contributors](https://make.wordpress.org/cli/handbook/committers-credo/) who have demonstrated, over a period of time, that they are capable and invested in moving the project forward.

Read the [governance document in the handbook](https://make.wordpress.org/cli/handbook/governance/) for more operational details about the project.

Credits
-------

[](#credits)

Besides the libraries defined in [composer.json](composer.json), we have used code or ideas from the following projects:

- [Drush](https://github.com/drush-ops/drush) for... a lot of things
- [wpshell](https://code.trac.wordpress.org/browser/wpshell) for `wp shell`
- [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/) for `wp media regenerate`
- [Search-Replace-DB](https://github.com/interconnectit/Search-Replace-DB) for `wp search-replace`
- [WordPress-CLI-Exporter](https://github.com/Automattic/WordPress-CLI-Exporter) for `wp export`
- [WordPress-CLI-Importer](https://github.com/Automattic/WordPress-CLI-Importer) for `wp import`
- [wordpress-plugin-tests](https://github.com/benbalter/wordpress-plugin-tests/) for `wp scaffold plugin-tests`

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 74.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

6

Last Release

3024d ago

Major Versions

1.0.2 → v2.0.02018-03-19

v2.0.0 → 4.0.02018-03-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8456197?v=4)[Kirtan Gajjar](/maintainers/kirtangajjar)[@kirtangajjar](https://github.com/kirtangajjar)

---

Top Contributors

[![kirtangajjar](https://avatars.githubusercontent.com/u/8456197?v=4)](https://github.com/kirtangajjar "kirtangajjar (56 commits)")[![mrrobot47](https://avatars.githubusercontent.com/u/25586785?v=4)](https://github.com/mrrobot47 "mrrobot47 (11 commits)")[![mbtamuli](https://avatars.githubusercontent.com/u/10382077?v=4)](https://github.com/mbtamuli "mbtamuli (5 commits)")[![gitlost](https://avatars.githubusercontent.com/u/481982?v=4)](https://github.com/gitlost "gitlost (2 commits)")[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (1 commits)")

---

Tags

cliwordpress

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kirtangajjar-ee/health.svg)

```
[![Health](https://phpackages.com/badges/kirtangajjar-ee/health.svg)](https://phpackages.com/packages/kirtangajjar-ee)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M524](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

54642.4k4](/packages/jolicode-castor)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9417.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
