This composer plugin enables installation of Gravity Perks WordPress plugins from Gravity Wiz. Base on Composer GravityForms (https://github.com/PiotrPress/composer-gravityforms).
$ composer require gravitywiz/gp-advanced-calculations:*
NOTE: Package name can be any GravityWiz Perk slug.
- Add the plugin as a composer requirement:
$ composer require blackbricksoftware/composer-gravitywiz
- Allow the plugin execution:
$ composer config allow-plugins.blackbricksoftware/composer-gravitywiz true
- 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>
- Add
http://localhost
to theRegistered Sites
in your Gravity Wiz account.
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"
]
}
}
}
- PHP >=
7.4
version. - Composer ^
2.0
version.