PHPackages                             gravityforms/gravityformscli - 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. gravityforms/gravityformscli

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

gravityforms/gravityformscli
============================

A set of WP-CLI commands to manage Gravity Forms.

v1.9(3mo ago)1413↓91.7%10[2 issues](https://github.com/gravityforms/gravityformscli/issues)[2 PRs](https://github.com/gravityforms/gravityformscli/pulls)GPL-3.0-or-laterPHPPHP &gt;=5.6CI passing

Since Apr 13Pushed 2w ago21 watchersCompare

[ Source](https://github.com/gravityforms/gravityformscli)[ Packagist](https://packagist.org/packages/gravityforms/gravityformscli)[ Docs](https://github.com/gravityforms/gravityformscli)[ RSS](/packages/gravityforms-gravityformscli/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (1)Versions (11)Used By (0)

Gravity Forms CLI Add-On
========================

[](#gravity-forms-cli-add-on)

The Gravity Forms CLI Add-On allows WP-CLI users to manage installation, forms and entries on the command line.

[Documentation](https://docs.gravityforms.com/category/add-ons-gravity-forms/wp-cli-add-on/)

Installation
------------

[](#installation)

**As a WP-CLI package:**

```
wp package install gravityforms/gravityformscli

```

**As a WordPress plugin:**

```
wp plugin install gravityformscli --activate

```

**Installing from GitHub:**

```
wp package install https://github.com/gravityforms/gravityformscli.git

```

Getting started
---------------

[](#getting-started)

- `wp help gf`
- `wp help gf form`
- `wp help gf field`
- `wp help gf entry`
- `wp gf license`
- `wp help gf tool`

Form Management
---------------

[](#form-management)

`wp gf form [command]`

Commands:

- create - Creates a new form.
- delete - Deletes a form.
- duplicate - Duplicates a form.
- edit - Launch system editor to edit the Form configuration.
- export - Exports forms to a Gravity Forms Form export file.
- list - Lists the forms with entry count and view counts.
- get - Returns the form JSON.
- import - Imports forms from a Gravity Forms Form export file.
- update - Updates a form.

Field Management
----------------

[](#field-management)

- `wp gf form field [command]`
- `wp gf field [command]` (alias)

Commands:

- create - Creates a field and adds it to a form.
- delete - Deletes a field.
- duplicate - Duplicates a field.
- edit - Launch system editor to edit the Field configuration.
- get - Returns the JSON representation of a field.
- list - Displays a list of fields for a form.
- update - Updates a field.

Notification Management
-----------------------

[](#notification-management)

- `wp gf form notification [command]`
- `wp gf notification [command]` (alias)

Commands:

- create - Creates a new notification.
- delete - Deletes a notification.
- duplicate - Duplicates a notification.
- edit - Launch system editor to edit the notification configuration.
- list - Lists the notification.
- get - Returns the notification JSON.
- update - Updates a notification.

Entry Management
----------------

[](#entry-management)

`wp gf entry [command]`

Commands:

- create - Creates a new entry from either a JSON string with the raw entry or from field-value pairs.
- delete - Deletes an entry.
- duplicate - Duplicates an entry
- edit - Launch system editor to edit the JSON representation of the Entry.
- export - Exports entries.
- get - Returns a JSON representation of an entry.
- import - Imports entries.
- list - Displays a list of entries.
- update - Updates an entry.

Entry Notifications
-------------------

[](#entry-notifications)

`wp gf entry notification [command]`

Commands:

- get - Returns the notifications for the given entry.
- send - Sends the notifications for the given entry.

License Management
------------------

[](#license-management)

`wp gf license [command]`

Commands:

- update - Updates the license key for the installation.
- delete - Deletes the license key for the installation.

Misc Tools
----------

[](#misc-tools)

`wp gf tool [command]`

Commands:

- clear\_transients
- empty-trash Delete the trashed entries.
- verify-checksums Verify Gravity Forms files against the checksums.
- system-report Outputs the system report from the Forms &gt; System Status page. Supports "status" as an alias.

Installing and Updating Gravity Forms and Add-Ons
-------------------------------------------------

[](#installing-and-updating-gravity-forms-and-add-ons)

The above commands all require Gravity Forms to be installed. However, if Gravity Forms is not installed then you can use this add-on to install it along with all the other official Gravity Forms add-ons.

The install command will download and install the latest version Gravity Forms and then run the database setup. The license key will be saved in the plugin settings.

A valid license key is required either in the `GF_LICENSE_KEY` constant or the `--key` option.

Examples:

- `wp gf install --key=xxxxx`
- `wp gf install --key=xxxxx --activate`
- `wp gf install gravityformspolls --key=xxxxx`
- `wp gf install gravityformsquiz --key=xxxxx`

Once installed, the database can be set up or upgraded separately using the setup command. The command will not re-run the setup unless the `--force` flag is set.

Examples:

- `wp gf setup`
- `wp gf setup --force`

Gravity Forms and add-ons can be updated using the update command.

Examples:

- `wp gf update`
- `wp gf update gravityformspolls`

Check the current version using the version command.

Examples:

- `wp gf version`
- `wp gf version gravityformspolls`

Requirements
------------

[](#requirements)

1. Wordpress 4.2+
2. Gravity Forms &gt; 1.9.17.8
3. WP-CLI v2.5+

Support
-------

[](#support)

If you find anything that needs fixing please open a support ticket at

If you have any ideas for improvements please submit your idea at

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance88

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~363 days

Recently: every ~505 days

Total

7

Last Release

92d ago

PHP version history (2 changes)1.2PHP &gt;=5.3.29

v1.9PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/396942?v=4)[Chris Kindred](/maintainers/ChrisMKindred)[@ChrisMKindred](https://github.com/ChrisMKindred)

---

Top Contributors

[![stevehenty](https://avatars.githubusercontent.com/u/368815?v=4)](https://github.com/stevehenty "stevehenty (71 commits)")[![richardW8k](https://avatars.githubusercontent.com/u/1872371?v=4)](https://github.com/richardW8k "richardW8k (22 commits)")[![morganisok](https://avatars.githubusercontent.com/u/16658165?v=4)](https://github.com/morganisok "morganisok (17 commits)")[![ChrisMKindred](https://avatars.githubusercontent.com/u/396942?v=4)](https://github.com/ChrisMKindred "ChrisMKindred (7 commits)")[![yoren](https://avatars.githubusercontent.com/u/12166?v=4)](https://github.com/yoren "yoren (6 commits)")[![grappler](https://avatars.githubusercontent.com/u/1785641?v=4)](https://github.com/grappler "grappler (4 commits)")[![SherifMesallam](https://avatars.githubusercontent.com/u/4347053?v=4)](https://github.com/SherifMesallam "SherifMesallam (3 commits)")[![juarezlive](https://avatars.githubusercontent.com/u/33872595?v=4)](https://github.com/juarezlive "juarezlive (2 commits)")[![ibd21](https://avatars.githubusercontent.com/u/40806143?v=4)](https://github.com/ibd21 "ibd21 (2 commits)")[![speerface](https://avatars.githubusercontent.com/u/6209061?v=4)](https://github.com/speerface "speerface (2 commits)")[![amdd-tim](https://avatars.githubusercontent.com/u/22183257?v=4)](https://github.com/amdd-tim "amdd-tim (2 commits)")[![laborin](https://avatars.githubusercontent.com/u/1530677?v=4)](https://github.com/laborin "laborin (2 commits)")[![karlpotter](https://avatars.githubusercontent.com/u/2243893?v=4)](https://github.com/karlpotter "karlpotter (2 commits)")[![travistotz](https://avatars.githubusercontent.com/u/673429?v=4)](https://github.com/travistotz "travistotz (1 commits)")

---

Tags

gravityformscliwordpresswp-cligravityforms

### Embed Badge

![Health badge](/badges/gravityforms-gravityformscli/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k18.5M406](/packages/wp-cli-wp-cli)[wp-cli/core-command

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

5211.3M29](/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/wp-cli-bundle

WP-CLI bundle package with default commands.

906.9M158](/packages/wp-cli-wp-cli-bundle)[wp-cli/wp-cli-tests

WP-CLI testing framework

423.1M141](/packages/wp-cli-wp-cli-tests)[wp-cli/checksum-command

Verifies file integrity by comparing to published checksums.

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

PHPackages © 2026

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