Skip to content

blackbricksoftware/composer-gravitywiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composer GravityWiz

This composer plugin enables installation of Gravity Perks WordPress plugins from Gravity Wiz. Base on Composer GravityForms (https://github.com/PiotrPress/composer-gravityforms).

Example

$ composer require gravitywiz/gp-advanced-calculations:*

NOTE: Package name can be any GravityWiz Perk slug.

Installation

  1. Add the plugin as a composer requirement:
$ composer require blackbricksoftware/composer-gravitywiz
  1. Allow the plugin execution:
$ composer config allow-plugins.blackbricksoftware/composer-gravitywiz true
  1. Provide GravityWiz license id & key. There is no need to md5 hash the license key when setting this configuration.

Navigating to Forms › Perks › Manage in the WordPress Dashboard. From the Account page, click Manage Sites. The license ID will appear in your URL. For example, this URL indicates the license ID is 123456.

$ composer config http-basic.gravitywiz.com <license id> <license_key>
  1. Add http://localhost to the Registered Sites in your Gravity Wiz account.

Usage

The Gravity Wiz Perks plugins have a type set to wordpress-plugin and can be installed in custom location using for example Composer Installers:

{
  "require": {
    "gravitywiz/gp-advanced-calculations": "*",
    "gravitywiz/gwlimitchoices": "*",
    "composer/installers": "^2.0"
  },
  "config": {
    "allow-plugins": {
      "composer/installers": true
    }
  },
  "extra": {
    "installer-paths": {
      "wp-content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ]
    }
  }
}

Requirements

  • PHP >= 7.4 version.
  • Composer ^2.0 version.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages