Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junaidbhura/composer-wp-pro-plugins
Composer installer for Pro WordPress plugins.
https://github.com/junaidbhura/composer-wp-pro-plugins
composer wordpress
Last synced: 3 months ago
JSON representation
Composer installer for Pro WordPress plugins.
- Host: GitHub
- URL: https://github.com/junaidbhura/composer-wp-pro-plugins
- Owner: junaidbhura
- License: mit
- Created: 2018-07-02T07:21:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-12T22:56:26.000Z (4 months ago)
- Last Synced: 2024-07-20T02:22:00.136Z (4 months ago)
- Topics: composer, wordpress
- Language: PHP
- Homepage: https://packagist.org/packages/junaidbhura/composer-wp-pro-plugins
- Size: 82 KB
- Stars: 89
- Watchers: 4
- Forks: 28
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Composer Installer for Pro WordPress Plugins.
A Composer plugin that makes it easy to install commercial WordPress plugins.
Sensitive credentials (license keys, tokens) are read from environment variables or a `.env` file.
## Supported Plugins
1. Advanced Custom Fields Pro
1. Ninja Forms Add-Ons
1. Gravity Forms / Add-Ons
1. Polylang Pro
1. PublishPress Pro
1. Advanced Custom Fields Extended Pro
1. WP All Import / Export Pro / Add-Ons
1. WPML## Overview
> ⚠️ Note: Most EDD plugins, and Gravity Forms, only allow downloading the latest versions of their plugins, even if you request for a specific version.
- Packages must use the names defined below otherwise they are ignored by this plugin.
- When installing or updating a package, the package version is appended to the dist URL.
This versioned dist URL is used as the cache key to store ZIP archives of the package.
In Composer 1, the versioned dist URL is added to `composer.lock`.
- Before downloading the package, the package's real download URL is retrieved and formatted with their corresponding environment variables, as defined below.
Environment variables will never be stored inside `composer.lock`.
- If an environment variable can't be resolved, the download will fail and Composer will abort.## Usage
This Composer plugin requires [Composer](https://getcomposer.org/):
- 1.0.0 and newer, or
- 2.0.2 and newer
- 2.3+ IMPORTANT: Make sure to add trailing slashes to packages' `dist` URL as below. More info: https://github.com/junaidbhura/composer-wp-pro-plugins/issues/34Create a `.env` file in the root of your WordPress site, where the `composer.json` file lives, which has all the license keys and settings:
```
ACF_PRO_KEY=""
ACFE_PRO_KEY=""
ACFE_PRO_URL=""
GRAVITY_FORMS_KEY=""
NINJA_FORMS_KEY=""
NINJA_FORMS_URL=""
NINJA_FORMS__KEY=""
NINJA_FORMS__URL=""
POLYLANG_PRO_KEY=""
POLYLANG_PRO_URL=""
PUBLISHPRESS_PRO_KEY=""
PUBLISHPRESS_PRO_URL=""
PUBLISHPRESS__PRO_KEY=""
PUBLISHPRESS__PRO_URL=""
WP_ALL_IMPORT_PRO_KEY=""
WP_ALL_IMPORT_PRO_URL=""
WP_ALL_EXPORT_PRO_KEY=""
WP_ALL_EXPORT_PRO_URL=""
WPML_USER_ID=""
WPML_KEY=""
```Add the following to your composer.json file:
```json
"repositories": [
{
"type": "package",
"package": {
"name": "junaidbhura/acf-extended-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.acf-extended.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/advanced-custom-fields-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.advancedcustomfields.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/gravityforms",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.gravityforms.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/gravityformspolls",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.gravityforms.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/ninja-forms-uploads",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://ninjaforms.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/polylang-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.polylang.pro/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/publishpress-planner-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://publishpress.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wp-all-import-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wp-all-export-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpai-acf-add-on",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpae-acf-add-on",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpae-user-add-on-pro",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.wpallimport.com/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpml-sitepress-multilingual-cms",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type": "package",
"package": {
"name": "junaidbhura/wpml-string-translation",
"version": "",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://wpml.org/"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
}
],
"require": {
"junaidbhura/acf-extended-pro": "*",
"junaidbhura/advanced-custom-fields-pro": "*",
"junaidbhura/gravityforms": "*",
"junaidbhura/gravityformspolls": "*",
"junaidbhura/ninja-forms-uploads": "*",
"junaidbhura/polylang-pro": "*",
"junaidbhura/publishpress-planner-pro": "*",
"junaidbhura/wp-all-import-pro": "*",
"junaidbhura/wp-all-export-pro": "*",
"junaidbhura/wpai-acf-add-on": "*",
"junaidbhura/wpae-acf-add-on": "*",
"junaidbhura/wpae-user-add-on-pro": "*",
"junaidbhura/wpml-sitepress-multilingual-cms": "*",
"junaidbhura/wpml-string-translation": "*"
},
```### Gravity Forms Add-Ons
You can use any Gravity Forms add-on by simply adding it's slug like so:
`junaidbhura/`
For example:
`junaidbhura/gravityformspolls`
Here's a list of all Gravity Forms add-on slugs: [https://docs.gravityforms.com/gravity-forms-add-on-slugs/](https://docs.gravityforms.com/gravity-forms-add-on-slugs/)
### Ninja Forms Add-Ons
You can use any Ninja Forms add-on by simply adding it's slug like so:
`junaidbhura/ninja-forms-`
The following add-ons are supported:
| Package name | Environment variables |
|:--------------------------------------------- |:---------------------------------------------- |
| `junaidbhura/ninja-forms-activecampaign` | `NINJA_FORMS_ACTIVECAMPAIGN_` |
| `junaidbhura/ninja-forms-advanced-datepicker` | `NINJA_FORMS_ADVANCED_DATEPICKER_` |
| `junaidbhura/ninja-forms-authorize-net` | `NINJA_FORMS_AUTHORIZE_NET_` |
| `junaidbhura/ninja-forms-aweber` | `NINJA_FORMS_AWEBER_` |
| `junaidbhura/ninja-forms-campaign-monitor` | `NINJA_FORMS_CAMPAIGN_MONITOR_` |
| `junaidbhura/ninja-forms-capsule-crm` | `NINJA_FORMS_CAPSULE_CRM_` |
| `junaidbhura/ninja-forms-civicrm` | `NINJA_FORMS_CIVICRM_` |
| `junaidbhura/ninja-forms-cleverreach` | `NINJA_FORMS_CLEVERREACH_` |
| `junaidbhura/ninja-forms-clicksend` | `NINJA_FORMS_CLICKSEND_` |
| `junaidbhura/ninja-forms-conditional-logic` | `NINJA_FORMS_CONDITIONAL_LOGIC_` |
| `junaidbhura/ninja-forms-constant-contact` | `NINJA_FORMS_CONSTANT_CONTACT_` |
| `junaidbhura/ninja-forms-convertkit` | `NINJA_FORMS_CONVERTKIT_` |
| `junaidbhura/ninja-forms-elavon` | `NINJA_FORMS_ELAVON_` |
| `junaidbhura/ninja-forms-emailoctopus` | `NINJA_FORMS_EMAILOCTOPUS_` |
| `junaidbhura/ninja-forms-emma` | `NINJA_FORMS_EMMA_` |
| `junaidbhura/ninja-forms-excel-export` | `NINJA_FORMS_EXCEL_EXPORT_` |
| `junaidbhura/ninja-forms-help-scout` | `NINJA_FORMS_HELP_SCOUT_` |
| `junaidbhura/ninja-forms-hubspot` | `NINJA_FORMS_HUBSPOT_` |
| `junaidbhura/ninja-forms-insightly` | `NINJA_FORMS_INSIGHTLY_` |
| `junaidbhura/ninja-forms-layout-styles` | `NINJA_FORMS_LAYOUT_STYLES_` |
| `junaidbhura/ninja-forms-mailchimp` | `NINJA_FORMS_MAILCHIMP_` |
| `junaidbhura/ninja-forms-mailpoet` | `NINJA_FORMS_MAILPOET_` |
| `junaidbhura/ninja-forms-multi-step` | `NINJA_FORMS_MULTI_STEP_` |
| `junaidbhura/ninja-forms-onepagecrm` | `NINJA_FORMS_ONEPAGECRM_` |
| `junaidbhura/ninja-forms-paypal-express` | `NINJA_FORMS_PAYPAL_EXPRESS_` |
| `junaidbhura/ninja-forms-pdf-submissions` | `NINJA_FORMS_PDF_SUBMISSIONS_` |
| `junaidbhura/ninja-forms-pipeline-crm` | `NINJA_FORMS_PIPELINE_CRM_` |
| `junaidbhura/ninja-forms-post-creation` | `NINJA_FORMS_POST_CREATION_` |
| `junaidbhura/ninja-forms-recurly` | `NINJA_FORMS_RECURLY_` |
| `junaidbhura/ninja-forms-salesforce` | `NINJA_FORMS_SALESFORCE_` |
| `junaidbhura/ninja-forms-save-progress` | `NINJA_FORMS_SAVE_PROGRESS_` |
| `junaidbhura/ninja-forms-scheduled-exports` | `NINJA_FORMS_SCHEDULED_EXPORTS_` |
| `junaidbhura/ninja-forms-slack` | `NINJA_FORMS_SLACK_` |
| `junaidbhura/ninja-forms-stripe` | `NINJA_FORMS_STRIPE_` |
| `junaidbhura/ninja-forms-trello` | `NINJA_FORMS_TRELLO_` |
| `junaidbhura/ninja-forms-twilio` | `NINJA_FORMS_TWILIO_` |
| `junaidbhura/ninja-forms-uploads` | `NINJA_FORMS_UPLOADS_` |
| `junaidbhura/ninja-forms-user-analytics` | `NINJA_FORMS_USER_ANALYTICS_` |
| `junaidbhura/ninja-forms-user-management` | `NINJA_FORMS_USER_MANAGEMENT_` |
| `junaidbhura/ninja-forms-webhooks` | `NINJA_FORMS_WEBHOOKS_` |
| `junaidbhura/ninja-forms-zapier` | `NINJA_FORMS_ZAPIER_` |
| `junaidbhura/ninja-forms-zoho` | `NINJA_FORMS_ZOHO_` |### PublishPress Pro Plugins
You can use any PublishPress Pro plugins by simply adding it's slug like so:
`junaidbhura/`
The following plugins are supported:
| Package name | Environment variables |
|:------------------------------------------- |:-------------------------------------------- |
| `junaidbhura/publishpress-authors-pro` | `PUBLISHPRESS_AUTHORS_PRO_` |
| `junaidbhura/publishpress-blocks-pro` | `PUBLISHPRESS_BLOCKS_PRO_` |
| `junaidbhura/publishpress-capabilities-pro` | `PUBLISHPRESS_CAPABILITIES_PRO_` |
| `junaidbhura/publishpress-checklists-pro` | `PUBLISHPRESS_CHECKLISTS_PRO_` |
| `junaidbhura/publishpress-future-pro` | `PUBLISHPRESS_FUTURE_PRO_` |
| `junaidbhura/publishpress-permissions-pro` | `PUBLISHPRESS_PERMISSIONS_PRO_` |
| `junaidbhura/publishpress-planner-pro` | `PUBLISHPRESS_PLANNER_PRO_` |
| `junaidbhura/publishpress-revisions-pro` | `PUBLISHPRESS_REVISIONS_PRO_` |
| `junaidbhura/publishpress-series-pro` | `PUBLISHPRESS_SERIES_PRO_` |### WP All Import Pro Add-Ons
You can use any WP All Import Pro add-on by simply adding it's slug like so:
`junaidbhura/`
For example:
`junaidbhura/wpai-acf-add-on`
### WP All Export Pro Add-Ons
You can use any WP All Export Pro add-on by simply adding it's slug like so:
`junaidbhura/`
For example:
`junaidbhura/wpae-acf-add-on`
### WPML Add-Ons
You can use any WPML add-on by simply adding it's slug like so:
`junaidbhura/wpml-`
The following add-ons are supported:
* `junaidbhura/wpml-acfml`
* `junaidbhura/wpml-all-import`
* `junaidbhura/wpml-buddypress-multilingual`
* `junaidbhura/wpml-cms-nav`
* `junaidbhura/wpml-contact-form-7-multilingual`
* `junaidbhura/wpml-gravityforms-multilingual`
* `junaidbhura/wpml-mailchimp-for-wp`
* `junaidbhura/wpml-media-translation`
* `junaidbhura/wpml-ninja-forms`
* `junaidbhura/wpml-sticky-links`
* `junaidbhura/wpml-string-translation`
* `junaidbhura/wpml-translation-management`
* `junaidbhura/wpml-types`
* `junaidbhura/wpml-woocommerce-multilingual`
* `junaidbhura/wpml-wp-seo-multilingual`
* `junaidbhura/wpml-wpforms`