Skip to main content
MeteorGPLby WebbingApps

Gravity Forms CLI

Plugin
Watch 0 Star 0
Install

Manage Gravity Forms on the command line.

  • 0 stars
  • 0 watching
  • 0 downloads
  • GPL-2.0-or-later

Versions 1

Newest first · every version scanned before publication
  1. 1.9.1 Latest

    Fixed an issue where the value of fields stored as arrays is type casted to a string when displaying an entry in the terminal. Release notes

    13 files 32.8 KB Verified

Show 16 versions not available yet

Releases named in the vendor’s changelog or on WordPress.org that the repository does not have yet.

  1. 1.9 Not available yet Release date not stated

    Updated the plugin to support installing packages through Packagist.

    Changelog entry

  2. 1.8 Not available yet Release date not stated

    Fixed a bug where the verify checksums command fails even when it should succeed.

    Changelog entry

  3. 1.7 Not available yet Release date not stated

    Fixed a bug that sometimes causes the form ID to be stored as a string.

    Changelog entry

  4. 1.6 Not available yet Release date not stated

    Updated the plugin to support installing and updating Gravity SMTP.

    Changelog entry

  5. 1.5 Not available yet Release date not stated

    Updated the plugin to allow its usage as a WP-CLI package.

    Changelog entry

  6. 1.4 Not available yet Release date not stated

    Fixed an issue where the version comparison performed when using wp gf update with an add-on slug uses the Gravity Forms version number.

    Changelog entry

  7. 1.3 Not available yet Release date not stated

    Fixed an error occurring when using the wp gf form notification create command.

    Changelog entry

  8. 1.2 Not available yet Release date not stated

    Updated Gravity API domain.

    Changelog entry

  9. 1.1 Not available yet Release date not stated

    Added support for startdate and enddate filters for the entry export command. e.g. wp gf entry export 11 --startdate="2018-11-01" --enddate=...

    Changelog entry

  10. 1.0 Not available yet Release date not stated

    Added the wp gf license command.

    Changelog entry

  11. 1.0-rc-1 Not available yet Release date not stated

    Added the --file arg to the wp gf form update command to allow forms to be updated from an export file.

    Changelog entry

  12. 1.0-beta-5 Not available yet Release date not stated

    Added the wp gf form notification command.

    Changelog entry

  13. 1.0-beta-4 Not available yet Release date not stated

    Updated the install command to pass the --force value to the setup command.

    Changelog entry

  14. 1.0-beta-3 Not available yet Release date not stated

    Added the wp gf setup command

    Changelog entry

  15. 1.0-beta-2 Not available yet Release date not stated

    Added support for the WP-CLI package index.

    Changelog entry

  16. 1.0-beta-1 Not available yet Release date not stated

    All new!

    Changelog entry

Gravity Forms CLI

Manage Gravity Forms on the command line.

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

Documentation

Getting started

  • wp help gf
  • wp help gf form
  • wp help gf form field
  • wp help gf form notification
  • wp help gf entry
  • wp help gf entry notification
  • wp help gf install
  • wp help gf setup
  • wp help gf license
  • wp help gf tool

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.
  • form_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

  • 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

  • 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

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

wp gf entry notification [command]

Commands:

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

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

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 > System Status page. Supports "status" as an alias.

Installing 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 available for auto-update 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 official 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

  1. Wordpress 4.2+
  2. Gravity Forms 1.9.17.8
  3. WP-CLI version 1.0+

Support

If you find anything that needs fixing please open a support ticket at https://www.gravityforms.com/open-support-ticket/

If you have any ideas for improvements please submit your idea at https://www.gravityforms.com/gravity-forms-roadmap/

What it adds

  • WP-CLI: gf, gf entry, gf entry notification, gf field, gf form, gf form field, gf form notification, gf license, gf notification, gf tool

Installation

wp plugin install gravityformscli --activate

or

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

or

  1. Download the zipped file.
  2. Extract and upload the contents of the folder to /wp-contents/plugins/ folder
  3. Go to the Plugin management page of WordPress admin section and enable the 'Gravity Forms CLI' plugin

Install

composer require meteorgpl-plugin/gravityformscli

The vendor’s license checks are intact: activate the plugin in WordPress with a license key bought from the vendor.

License

Declared license: GPL-2.0-or-later. The code is redistributed under the license the vendor declared in the plugin’s own headers. License profile: gpl-full.

Artwork, fonts, media and documents that may be licensed separately are not redistributed; the licensing page explains what is replaced or removed, and the security tab lists it per version. Support and update entitlement come with the license you buy from the vendor.

Gravity Forms Gravity Forms Cloudflare Turnstile Add-On

meteorgpl-plugin/gravityformsturnstile

Integrates Gravity Forms with Turnstile, a reCAPTCHA replacement from Cloudflare.

plugin 1.5.1 GPL-2.0-or-later

Gravity Forms Gravity Forms Pipe Add-On

meteorgpl-plugin/gravityformspipe

Record videos on your website with Pipe and add them to your Gravity Forms entries.

plugin 1.6.0 GPL-2.0-or-later

Gravity Forms Gravity Forms HubSpot Add-On

meteorgpl-plugin/gravityformshubspot

Integrates Gravity Forms with HubSpot, allowing form submissions to be automatically sent to your HubSpot account.

plugin 3.0.5 GPL-3.0-or-later

Gravity Forms Gravity Forms User Registration Add-On

meteorgpl-plugin/gravityformsuserregistration

Allows WordPress users to be automatically created upon submitting a Gravity Form.

plugin 5.5.2.1 GPL-2.0-or-later

Gravity Forms Gravity Forms Constant Contact Add-On

meteorgpl-plugin/gravityformsconstantcontact

Integrates Gravity Forms with Constant Contact allowing form submissions to be automatically sent to your Constant Contact account.

plugin 1.8.1 GPL-3.0-or-later

Gravity Forms Gravity Forms Coupons Add-On

meteorgpl-plugin/gravityformscoupons

Enables Gravity Forms administrators to create coupon codes that can be applied to products, services or subscriptions when used in conjunction with a...

plugin 3.5.2.1 GPL-2.0-or-later

Gravity Forms Gravity Forms Geolocation Add-On

meteorgpl-plugin/gravityformsgeolocation

Allows for geolocation suggestions when filling an address field.

plugin 1.5.3.1 GPL-3.0-or-later

Gravity Forms Gravity Forms Signature Add-On

meteorgpl-plugin/gravityformssignature

Creates a Gravity Forms signature field that allows users to sign online using a mouse or stylus.

plugin 4.10.0 GPL-2.0-or-later

Send feedback

What works, what does not, what is missing: a few words help.

Only if you would like a reply.

Taken in your browser, without this window. Passwords, what you typed into forms, keys and tokens are left out as grey blocks; you can hide more before sending. We keep screenshots for 90 days.

We store it with the page address, your language, window size, browser and IP address, and your e-mail address if you give one. The IP address and browser are deleted after 90 days. Privacy policy.

All languages