PHPackages                             easyengine/site-wp-command - 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. easyengine/site-wp-command

ActiveEe-cli-package

easyengine/site-wp-command
==========================

EasyEngine site type package for WordPress site creation.

v2.0.0(7y ago)12577↓100%15[10 issues](https://github.com/EasyEngine/site-type-wp/issues)[8 PRs](https://github.com/EasyEngine/site-type-wp/pulls)MITPHPCI failing

Since Jul 10Pushed 3mo ago3 watchersCompare

[ Source](https://github.com/EasyEngine/site-type-wp)[ Packagist](https://packagist.org/packages/easyengine/site-wp-command)[ Docs](https://github.com/easyengine/site-command)[ RSS](/packages/easyengine-site-wp-command/feed)WikiDiscussions develop Synced today

READMEChangelog (2)DependenciesVersions (44)Used By (0)

easyengine/site-type-wp
=======================

[](#easyenginesite-type-wp)

EasyEngine site type package for WordPress site creation.

[![Build Status](https://camo.githubusercontent.com/f4559b19aa5ea67fc90b7db37679b1dd93e8b591323ba0228fa8d8716a1e3372/68747470733a2f2f7472617669732d63692e6f72672f65617379656e67696e652f736974652d747970652d77702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/easyengine/site-type-wp)

Quick links: [Using](#using) | [Contributing](#contributing) | [Support](#support)

Using
-----

[](#using)

This package implements the following commands:

### ee site create --type=wp

[](#ee-site-create---typewp)

Runs the standard WordPress Site installation.

```
ee site create --type=wp  [--cache] [--vip] [--mu=] [--mu=] [--title=] [--admin-user=] [--admin-pass=] [--admin-email=] [--local-db] [--with-local-redis] [--php=] [--dbname=] [--dbuser=] [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--skip-check] [--version=] [--skip-content] [--skip-install] [--skip-status-check] [--ssl=] [--wildcard] [--yes] [--force]

```

**OPTIONS**

```

	Name of website.

[--cache]
	Use redis cache for WordPress.

[--vip]
	Create WordPress VIP GO site using your vip repo which contains wp-content dir. Default it will use skeleton repo.
	---
	default: https://github.com/Automattic/vip-go-skeleton.git
	---

[--mu=]
	WordPress sub-dir Multi-site.

[--mu=]
	WordPress sub-domain Multi-site.

[--title=]
	Title of your site.

[--admin-user=]
	Username of the administrator.

[--admin-pass=]
	Password for the the administrator.

[--admin-email=]
	E-Mail of the administrator.

[--local-db]
	Create separate db container instead of using global db.

[--with-local-redis]
	Enable cache with local redis container.

[--php=]
	PHP version for site. Currently only supports PHP 5.6 and latest.
	---
	default: latest
	options:
		- 5.6
		- 7.2
		- latest
	---

[--dbname=]
	Set the database name.

[--dbuser=]
	Set the database user.

[--dbpass=]
	Set the database password.

[--dbhost=]
	Set the database host. Pass value only when remote dbhost is required.

[--dbprefix=]
	Set the database table prefix.

[--dbcharset=]
	Set the database charset.
	---
	default: utf8mb4
	---

[--dbcollate=]
	Set the database collation.

[--skip-check]
	If set, the database connection is not checked.

[--version=]
	Select which WordPress version you want to download. Accepts a version number, ‘latest’ or ‘nightly’.

[--skip-content]
	Download WP without the default themes and plugins.

[--skip-install]
	Skips wp-core install.

[--skip-status-check]
	Skips site status check.

[--ssl=]
	Enables ssl on site.

[--wildcard]
	Gets wildcard SSL .

[--yes]
	Do not prompt for confirmation.

[--force]
	Resets the remote database if it is not empty.

```

**EXAMPLES**

```
# Create WordPress site
$ ee site create example.com --type=wp

# Create WordPress multisite subdir site
$ ee site create example.com --type=wp --mu=subdir

# Create WordPress multisite subdom site
$ ee site create example.com --type=wp --mu=subdom

# Create WordPress site with ssl from letsencrypt
$ ee site create example.com --type=wp --ssl=le

# Create WordPress site with wildcard ssl
$ ee site create example.com --type=wp --ssl=le --wildcard

# Create WordPress site with self signed certificate
$ ee site create example.com --type=wp --ssl=self

# Create WordPress site with remote database
$ ee site create example.com --type=wp --dbhost=localhost --dbuser=username --dbpass=password

# Create WordPress site with custom site title, locale, admin user, admin email and admin password
$ ee site create example.com --type=wp --title=easyengine  --locale=nl_NL --admin-email=easyengine@example.com --admin-user=easyengine --admin-pass=easyengine

```

### ee site delete

[](#ee-site-delete)

Deletes a website.

```
ee site delete  [--yes]

```

**OPTIONS**

```

	Name of website to be deleted.

[--yes]
	Do not prompt for confirmation.

```

**EXAMPLES**

```
# Delete site
$ ee site delete example.com

```

### ee site update

[](#ee-site-update)

Supports updating and upgrading site.

```
ee site update [] [--ssl=] [--wildcard]

```

```
[]
	Name of the site.

[--ssl=]
	Enable ssl on site

[--wildcard]
	Enable wildcard SSL on site.

```

**EXAMPLES**

```
# Add SSL to non-ssl site
$ ee site update example.com --ssl=le

# Add SSL to non-ssl site
$ ee site update example.com --ssl=le --wildcard

# Add self-signed SSL to non-ssl site
$ ee site update example.com --ssl=self

```

### ee site info --type=wp

[](#ee-site-info---typewp)

Runs the standard WordPress Site installation.

```
ee site info --type=wp  [--cache] [--vip] [--mu=] [--mu=] [--title=] [--admin-user=] [--admin-pass=] [--admin-email=] [--local-db] [--with-local-redis] [--php=] [--dbname=] [--dbuser=] [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--skip-check] [--version=] [--skip-content] [--skip-install] [--skip-status-check] [--ssl=] [--wildcard] [--yes] [--force]

```

**OPTIONS**

```

	Name of website.

[--cache]
	Use redis cache for WordPress.

[--vip]
	Create WordPress VIP GO site using your vip repo which contains wp-content dir. Default it will use skeleton repo.
	---
	default: https://github.com/Automattic/vip-go-skeleton.git
	---

[--mu=]
	WordPress sub-dir Multi-site.

[--mu=]
	WordPress sub-domain Multi-site.

[--title=]
	Title of your site.

[--admin-user=]
	Username of the administrator.

[--admin-pass=]
	Password for the the administrator.

[--admin-email=]
	E-Mail of the administrator.

[--local-db]
	Create separate db container instead of using global db.

[--with-local-redis]
	Enable cache with local redis container.

[--php=]
	PHP version for site. Currently only supports PHP 5.6 and latest.
	---
	default: latest
	options:
		- 5.6
		- 7.2
		- latest
	---

[--dbname=]
	Set the database name.

[--dbuser=]
	Set the database user.

[--dbpass=]
	Set the database password.

[--dbhost=]
	Set the database host. Pass value only when remote dbhost is required.

[--dbprefix=]
	Set the database table prefix.

[--dbcharset=]
	Set the database charset.
	---
	default: utf8mb4
	---

[--dbcollate=]
	Set the database collation.

[--skip-check]
	If set, the database connection is not checked.

[--version=]
	Select which WordPress version you want to download. Accepts a version number, ‘latest’ or ‘nightly’.

[--skip-content]
	Download WP without the default themes and plugins.

[--skip-install]
	Skips wp-core install.

[--skip-status-check]
	Skips site status check.

[--ssl=]
	Enables ssl on site.

[--wildcard]
	Gets wildcard SSL .

[--yes]
	Do not prompt for confirmation.

[--force]
	Resets the remote database if it is not empty.

```

**EXAMPLES**

```
# Create WordPress site
$ ee site create example.com --type=wp

# Create WordPress multisite subdir site
$ ee site create example.com --type=wp --mu=subdir

# Create WordPress multisite subdom site
$ ee site create example.com --type=wp --mu=subdom

# Create WordPress site with ssl from letsencrypt
$ ee site create example.com --type=wp --ssl=le

# Create WordPress site with wildcard ssl
$ ee site create example.com --type=wp --ssl=le --wildcard

# Create WordPress site with self signed certificate
$ ee site create example.com --type=wp --ssl=self

# Create WordPress site with remote database
$ ee site create example.com --type=wp --dbhost=localhost --dbuser=username --dbpass=password

# Create WordPress site with custom site title, locale, admin user, admin email and admin password
$ ee site create example.com --type=wp --title=easyengine  --locale=nl_NL --admin-email=easyengine@example.com --admin-user=easyengine --admin-pass=easyengine

```

### ee site enable

[](#ee-site-enable)

Enables a website. It will start the docker containers of the website if they are stopped.

```
ee site enable [] [--force] [--verify]

```

**OPTIONS**

```
[]
	Name of website to be enabled.

[--force]
	Force execution of site enable.

[--verify]
	Verify if required global services are working.

```

**EXAMPLES**

```
# Enable site
$ ee site enable example.com

# Enable site with verification of dependent global services. (Note: This takes longer time to enable the
site.)
$ ee site enable example.com --verify

# Force enable a site.
$ ee site enable example.com --force

```

### ee site disable

[](#ee-site-disable)

Disables a website. It will stop and remove the docker containers of the website if they are running.

```
ee site disable []

```

**OPTIONS**

```
[]
	Name of website to be disabled.

```

**EXAMPLES**

```
# Disable site
$ ee site disable example.com

```

### ee site info

[](#ee-site-info)

Display all the relevant site information, credentials and useful links.

```
ee site info []

```

```
[]
	Name of the website whose info is required.

```

**EXAMPLES**

```
# Display site info
$ ee site info example.com

```

### ee site ssl

[](#ee-site-ssl)

Verifies ssl challenge and also renews certificates(if expired).

```
ee site ssl  [--force]

```

**OPTIONS**

```

	Name of website.

[--force]
	Force renewal.

```

### ee site list

[](#ee-site-list)

Lists the created websites.

```
ee site list [--enabled] [--disabled] [--format=]

```

abstract list

```
[--enabled]
	List only enabled sites.

[--disabled]
	List only disabled sites.

[--format=]
	Render output in a particular format.
	---
	default: table
	options:
	  - table
	  - csv
	  - yaml
	  - json
	  - count
	  - text
	---

```

**EXAMPLES**

```
# List all sites
$ ee site list

# List enabled sites
$ ee site list --enabled

# List disabled sites
$ ee site list --disabled

# List all sites in JSON
$ ee site list --format=json

# Count all sites
$ ee site list --format=count

```

### ee site reload --type=wp

[](#ee-site-reload---typewp)

Runs the standard WordPress Site installation.

```
ee site reload --type=wp  [--cache] [--vip] [--mu=] [--mu=] [--title=] [--admin-user=] [--admin-pass=] [--admin-email=] [--local-db] [--with-local-redis] [--php=] [--dbname=] [--dbuser=] [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--skip-check] [--version=] [--skip-content] [--skip-install] [--skip-status-check] [--ssl=] [--wildcard] [--yes] [--force]

```

**OPTIONS**

```

	Name of website.

[--cache]
	Use redis cache for WordPress.

[--vip]
	Create WordPress VIP GO site using your vip repo which contains wp-content dir. Default it will use skeleton repo.
	---
	default: https://github.com/Automattic/vip-go-skeleton.git
	---

[--mu=]
	WordPress sub-dir Multi-site.

[--mu=]
	WordPress sub-domain Multi-site.

[--title=]
	Title of your site.

[--admin-user=]
	Username of the administrator.

[--admin-pass=]
	Password for the the administrator.

[--admin-email=]
	E-Mail of the administrator.

[--local-db]
	Create separate db container instead of using global db.

[--with-local-redis]
	Enable cache with local redis container.

[--php=]
	PHP version for site. Currently only supports PHP 5.6 and latest.
	---
	default: latest
	options:
		- 5.6
		- 7.2
		- latest
	---

[--dbname=]
	Set the database name.

[--dbuser=]
	Set the database user.

[--dbpass=]
	Set the database password.

[--dbhost=]
	Set the database host. Pass value only when remote dbhost is required.

[--dbprefix=]
	Set the database table prefix.

[--dbcharset=]
	Set the database charset.
	---
	default: utf8mb4
	---

[--dbcollate=]
	Set the database collation.

[--skip-check]
	If set, the database connection is not checked.

[--version=]
	Select which WordPress version you want to download. Accepts a version number, ‘latest’ or ‘nightly’.

[--skip-content]
	Download WP without the default themes and plugins.

[--skip-install]
	Skips wp-core install.

[--skip-status-check]
	Skips site status check.

[--ssl=]
	Enables ssl on site.

[--wildcard]
	Gets wildcard SSL .

[--yes]
	Do not prompt for confirmation.

[--force]
	Resets the remote database if it is not empty.

```

**EXAMPLES**

```
# Create WordPress site
$ ee site create example.com --type=wp

# Create WordPress multisite subdir site
$ ee site create example.com --type=wp --mu=subdir

# Create WordPress multisite subdom site
$ ee site create example.com --type=wp --mu=subdom

# Create WordPress site with ssl from letsencrypt
$ ee site create example.com --type=wp --ssl=le

# Create WordPress site with wildcard ssl
$ ee site create example.com --type=wp --ssl=le --wildcard

# Create WordPress site with self signed certificate
$ ee site create example.com --type=wp --ssl=self

# Create WordPress site with remote database
$ ee site create example.com --type=wp --dbhost=localhost --dbuser=username --dbpass=password

# Create WordPress site with custom site title, locale, admin user, admin email and admin password
$ ee site create example.com --type=wp --title=easyengine  --locale=nl_NL --admin-email=easyengine@example.com --admin-user=easyengine --admin-pass=easyengine

```

### ee site restart --type=wp

[](#ee-site-restart---typewp)

Runs the standard WordPress Site installation.

```
ee site restart --type=wp  [--cache] [--vip] [--mu=] [--mu=] [--title=] [--admin-user=] [--admin-pass=] [--admin-email=] [--local-db] [--with-local-redis] [--php=] [--dbname=] [--dbuser=] [--dbpass=] [--dbhost=] [--dbprefix=] [--dbcharset=] [--dbcollate=] [--skip-check] [--version=] [--skip-content] [--skip-install] [--skip-status-check] [--ssl=] [--wildcard] [--yes] [--force]

```

**OPTIONS**

```

	Name of website.

[--cache]
	Use redis cache for WordPress.

[--vip]
	Create WordPress VIP GO site using your vip repo which contains wp-content dir. Default it will use skeleton repo.
	---
	default: https://github.com/Automattic/vip-go-skeleton.git
	---

[--mu=]
	WordPress sub-dir Multi-site.

[--mu=]
	WordPress sub-domain Multi-site.

[--title=]
	Title of your site.

[--admin-user=]
	Username of the administrator.

[--admin-pass=]
	Password for the the administrator.

[--admin-email=]
	E-Mail of the administrator.

[--local-db]
	Create separate db container instead of using global db.

[--with-local-redis]
	Enable cache with local redis container.

[--php=]
	PHP version for site. Currently only supports PHP 5.6 and latest.
	---
	default: latest
	options:
		- 5.6
		- 7.2
		- latest
	---

[--dbname=]
	Set the database name.

[--dbuser=]
	Set the database user.

[--dbpass=]
	Set the database password.

[--dbhost=]
	Set the database host. Pass value only when remote dbhost is required.

[--dbprefix=]
	Set the database table prefix.

[--dbcharset=]
	Set the database charset.
	---
	default: utf8mb4
	---

[--dbcollate=]
	Set the database collation.

[--skip-check]
	If set, the database connection is not checked.

[--version=]
	Select which WordPress version you want to download. Accepts a version number, ‘latest’ or ‘nightly’.

[--skip-content]
	Download WP without the default themes and plugins.

[--skip-install]
	Skips wp-core install.

[--skip-status-check]
	Skips site status check.

[--ssl=]
	Enables ssl on site.

[--wildcard]
	Gets wildcard SSL .

[--yes]
	Do not prompt for confirmation.

[--force]
	Resets the remote database if it is not empty.

```

**EXAMPLES**

```
# Create WordPress site
$ ee site create example.com --type=wp

# Create WordPress multisite subdir site
$ ee site create example.com --type=wp --mu=subdir

# Create WordPress multisite subdom site
$ ee site create example.com --type=wp --mu=subdom

# Create WordPress site with ssl from letsencrypt
$ ee site create example.com --type=wp --ssl=le

# Create WordPress site with wildcard ssl
$ ee site create example.com --type=wp --ssl=le --wildcard

# Create WordPress site with self signed certificate
$ ee site create example.com --type=wp --ssl=self

# Create WordPress site with remote database
$ ee site create example.com --type=wp --dbhost=localhost --dbuser=username --dbpass=password

# Create WordPress site with custom site title, locale, admin user, admin email and admin password
$ ee site create example.com --type=wp --title=easyengine  --locale=nl_NL --admin-email=easyengine@example.com --admin-user=easyengine --admin-pass=easyengine

```

### ee site share

[](#ee-site-share)

Share a site online using ngrok.

```
ee site share  [--disable] [--refresh] [--token=]

```

**OPTIONS**

```

	Name of website.

[--disable]
	Take online link down.

[--refresh]
	Refresh site share if link has expired.

[--token=]
	ngrok token.

```

**EXAMPLES**

```
# Share a site online
$ ee site share example.com

# Refresh shareed link if expired
$ ee site share example.com --refresh

# Disable online link
$ ee site share example.com --disable

```

### ee site clean

[](#ee-site-clean)

Clears Object and Page cache for site.

```
ee site clean [] [--page] [--object]

```

**OPTIONS**

```
[]
	Name of website to be enabled.

[--page]
	Clear page cache.

[--object]
	Clear object cache.

```

**EXAMPLES**

```
# Clear Both cache type for site.
$ ee site clean example.com

# Clear Object cache for site.
$ ee site clean example.com --object

# Clear Page cache for site.
$ ee site clean example.com --page

```

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

[](#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

[](#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](https://github.com/easyengine/site-type-wp/issues?q=label%3Abug%20) to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version.

Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please [create a new issue](https://github.com/easyengine/site-type-wp/issues/new). Include as much detail as you can, and clear steps to reproduce if possible.

### Creating a pull request

[](#creating-a-pull-request)

Want to contribute a new feature? Please first [open a new issue](https://github.com/easyengine/site-type-wp/issues/new) to discuss whether the feature is a good fit for the project.

Support
-------

[](#support)

Github issues aren't for general support questions, but there are other venues you can try:

*This README.md is generated dynamically from the project's codebase using `ee scaffold package-readme` ([doc](https://github.com/EasyEngine/scaffold-command)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 52.1% 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 ~67 days

Recently: every ~97 days

Total

41

Last Release

103d ago

Major Versions

v1.0.0-beta.1 → v2.0.02018-08-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/85d12e799d478a9ff2c22546fc96d056712b76e6895a6519dde4cb71fe80cb78?d=identicon)[easyengine](/maintainers/easyengine)

---

Top Contributors

[![mrrobot47](https://avatars.githubusercontent.com/u/25586785?v=4)](https://github.com/mrrobot47 "mrrobot47 (351 commits)")[![kirtangajjar](https://avatars.githubusercontent.com/u/8456197?v=4)](https://github.com/kirtangajjar "kirtangajjar (97 commits)")[![sagarnasit](https://avatars.githubusercontent.com/u/25276905?v=4)](https://github.com/sagarnasit "sagarnasit (79 commits)")[![mbtamuli](https://avatars.githubusercontent.com/u/10382077?v=4)](https://github.com/mbtamuli "mbtamuli (72 commits)")[![rahulsprajapati](https://avatars.githubusercontent.com/u/10358350?v=4)](https://github.com/rahulsprajapati "rahulsprajapati (59 commits)")[![dhsathiya](https://avatars.githubusercontent.com/u/26240780?v=4)](https://github.com/dhsathiya "dhsathiya (6 commits)")[![L0RD-ZER0](https://avatars.githubusercontent.com/u/68327382?v=4)](https://github.com/L0RD-ZER0 "L0RD-ZER0 (5 commits)")[![thrijith](https://avatars.githubusercontent.com/u/13589980?v=4)](https://github.com/thrijith "thrijith (2 commits)")[![abhijitrakas](https://avatars.githubusercontent.com/u/26354653?v=4)](https://github.com/abhijitrakas "abhijitrakas (2 commits)")[![dishitpala](https://avatars.githubusercontent.com/u/25063903?v=4)](https://github.com/dishitpala "dishitpala (1 commits)")

---

Tags

cacheeasyengineee-site-typehacktoberfesthacktoberfest2020rediswordpress

### Embed Badge

![Health badge](/badges/easyengine-site-wp-command/health.svg)

```
[![Health](https://phpackages.com/badges/easyengine-site-wp-command/health.svg)](https://phpackages.com/packages/easyengine-site-wp-command)
```

PHPackages © 2026

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