PHPackages                             buddypress/wp-cli-buddypress - 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. buddypress/wp-cli-buddypress

ActiveWp-cli-package[CLI &amp; Console](/categories/cli)

buddypress/wp-cli-buddypress
============================

WP-CLI Community Package of BuddyPress commands

3.0.2(1y ago)50420MITPHPPHP &gt;=5.6.0

Since Jan 24Pushed 1y ago9 watchersCompare

[ Source](https://github.com/buddypress/wp-cli-buddypress)[ Packagist](https://packagist.org/packages/buddypress/wp-cli-buddypress)[ Docs](https://github.com/buddypress/wp-cli-buddypress)[ RSS](/packages/buddypress-wp-cli-buddypress/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (14)Used By (0)

buddypress/wp-cli-buddypress
============================

[](#buddypresswp-cli-buddypress)

Manage BuddyPress through the command-line.

Installing
----------

[](#installing)

The `wp-cli-buddypress` comes installed by default with BuddyPress. So if you need to use the latest version, run:

```
wp package install git@github.com:buddypress/wp-cli-buddypress.git
```

In many cases the default memory limit will not be enough to run composer, so running the following instead is generally recommended:

```
php -d memory_limit=512M "$(which wp)" package install git@github.com:buddypress/wp-cli-buddypress.git
```

Using
-----

[](#using)

This package adds commands to all core BuddyPress components. The component used **needs** to be activated for it to be used. Here are a few examples:

### wp bp

[](#wp-bp)

Manage all BuddyPress commands.

```
wp bp
```

### wp bp activity

[](#wp-bp-activity)

Manage BuddyPress Activities.

```
# Create Activity
$ wp bp activity create
Success: Successfully created new activity item (ID #5464).

# Create Group Activity
$ wp bp activity add --component=groups --item-id=2 --user-id=10
Success: Successfully created new activity item (ID #48949)
```

### wp bp group

[](#wp-bp-group)

Manage BuddyPress Groups.

```
# Create Group
$ wp bp group create --name="Totally Cool Group"
Success: Group (ID 5465) created: http://example.com/groups/totally-cool-group/

# Delete a Group
$ wp bp group delete group-slug --yes
Success: Group successfully deleted.
```

### wp bp messages

[](#wp-bp-messages)

Manage BuddyPress Messages.

```
# Create message
wp bp message create --from=user1 --to=user2 --subject="Message Title" --content="We are ready"
Success: Message successfully created.

# Delete thread
$ wp bp message delete-thread 456456 --user-id=user_logon --yes
Success: Thread successfully deleted.
```

### wp bp xprofile

[](#wp-bp-xprofile)

Manage BuddyPress XProfile.

```
# Create a xprofile group.
$ wp bp xprofile group create --name="Group Name" --description="Xprofile Group Description"
Success: Created XProfile field group "Group Name" (ID 123).

# List xprofile fields.
$ wp bp xprofile field list

# Save a xprofile data to a user with its field and value.
$ wp bp xprofile data set --user-id=45 --field-id=120 --value=teste
Success: Updated XProfile field "Field Name" (ID 120) with value  "teste" for user user_login (ID 45).
```

### wp bp notification

[](#wp-bp-notification)

Manage BuddyPress Notifications.

```
# Create notification item.
$ wp bp notification create
Success: Successfully created new notification. (ID #5464)

# Delete a notification item.
$ wp bp notification delete 520
Success: Notification deleted.
```

### wp bp email

[](#wp-bp-email)

Manage BuddyPress Emails

```
# Create email
$ wp bp email create --type=new-event --type-description="Send an email when a new event is created" --subject="[{{{site.name}}}] A new event was created" --content="A new event was created" --plain-text-content="A new event was created"
Success: Email post created for type "new-event".

# Create email with content from given file
$ wp bp email create ./email-content.txt --type=new-event --type-description="Send an email when a new event is created" --subject="[{{{site.name}}}] A new event was created" --plain-text-content="A new event was created"
Success: Email post created for type "new-event".
```

### wp bp member

[](#wp-bp-member)

Manage BuddyPress Members.

```
# Generate BuddyPress members.
$ wp bp member generate
```

### wp bp signup

[](#wp-bp-signup)

Manage BuddyPress Signups

```
# Create a signup
$ wp bp signup create --user-login=test_user --user-email=teste@site.com
Success: Successfully added new user signup (ID #345).

# Activate a signup
$ wp bp signup activate ee48ec319fef3nn4
Success: Signup activated, new user (ID #545).
```

### wp bp tool

[](#wp-bp-tool)

Manage BuddyPress repairs tools.

```
# Repairing friend-count
$ wp bp tool repair friend-count
Success: Counting the number of friends for each user. Complete!

# Activate signup
$ wp bp tool signup 1
Success: Signup tool updated.
```

Support
-------

[](#support)

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

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance40

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 74.6% 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 ~336 days

Recently: every ~357 days

Total

13

Last Release

502d ago

Major Versions

1.8 → 2.02020-09-07

2.0.2 → 3.0.02024-02-16

PHP version history (5 changes)1.0.0PHP &gt;=5.3

1.8PHP &gt;=5.4

2.0PHP ^5.6 || ^7.0

2.0.2PHP ^5.6 || ^7.0 || ^8.0

3.0.0PHP &gt;=5.6.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/246627?v=4)[Boone Gorges](/maintainers/boonebgorges)[@boonebgorges](https://github.com/boonebgorges)

---

Top Contributors

[![renatonascalves](https://avatars.githubusercontent.com/u/19148962?v=4)](https://github.com/renatonascalves "renatonascalves (518 commits)")[![boonebgorges](https://avatars.githubusercontent.com/u/246627?v=4)](https://github.com/boonebgorges "boonebgorges (138 commits)")[![paulgibbs](https://avatars.githubusercontent.com/u/1275914?v=4)](https://github.com/paulgibbs "paulgibbs (14 commits)")[![r-a-y](https://avatars.githubusercontent.com/u/505921?v=4)](https://github.com/r-a-y "r-a-y (14 commits)")[![JonathanReeve](https://avatars.githubusercontent.com/u/1843676?v=4)](https://github.com/JonathanReeve "JonathanReeve (2 commits)")[![matthewf-ucsd](https://avatars.githubusercontent.com/u/2294762?v=4)](https://github.com/matthewf-ucsd "matthewf-ucsd (1 commits)")[![ntwb](https://avatars.githubusercontent.com/u/1016458?v=4)](https://github.com/ntwb "ntwb (1 commits)")[![scribu](https://avatars.githubusercontent.com/u/225715?v=4)](https://github.com/scribu "scribu (1 commits)")[![tw2113](https://avatars.githubusercontent.com/u/484075?v=4)](https://github.com/tw2113 "tw2113 (1 commits)")[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (1 commits)")[![dcavins](https://avatars.githubusercontent.com/u/1391994?v=4)](https://github.com/dcavins "dcavins (1 commits)")[![iandunn](https://avatars.githubusercontent.com/u/484068?v=4)](https://github.com/iandunn "iandunn (1 commits)")[![Mamaduka](https://avatars.githubusercontent.com/u/240569?v=4)](https://github.com/Mamaduka "Mamaduka (1 commits)")

---

Tags

wordpresswpcommunitywp-clibuddypressbp

### Embed Badge

![Health badge](/badges/buddypress-wp-cli-buddypress/health.svg)

```
[![Health](https://phpackages.com/badges/buddypress-wp-cli-buddypress/health.svg)](https://phpackages.com/packages/buddypress-wp-cli-buddypress)
```

###  Alternatives

[wp-cli/core-command

Downloads, installs, updates, and manages a WordPress installation.

5211.3M30](/packages/wp-cli-core-command)[wp-cli/entity-command

Manage WordPress comments, menus, options, posts, sites, terms, and users.

1069.8M84](/packages/wp-cli-entity-command)[wp-cli/checksum-command

Verifies file integrity by comparing to published checksums.

338.3M14](/packages/wp-cli-checksum-command)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M142](/packages/wp-cli-wp-cli-tests)[wpsh/wp-cli-replicator

3584.2k](/packages/wpsh-wp-cli-replicator)[wp-cli/wp-super-cache-cli

Add a `wp super-cache` command to support the WP Super Cache plug-in

5720.5k](/packages/wp-cli-wp-super-cache-cli)

PHPackages © 2026

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