Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/afragen/advanced-plugin-dependencies/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
- Contributors: afragen, costdev, pbiron
- Description: Add plugin install dependencies tab, support for non dot org plugin cards, and information about dependencies.
- License: MIT
- Network: true
- Requires at least: 6.5
- Requires PHP: 8.0
- Stable release: main
Description
An add-on the the Plugin Dependencies feature. Adds a Dependencies tab in the plugin install page. Adds support for non dot org plugin cards. If a requiring plugin does not have all its dependencies installed and active, it will not activate.
- Plugins not in dot org may use the format
<slug>|<URI>in the Requires Plugins header.URIshould return a JSON compatible with theplugins_api()response or be a JSON file at the plugin root,<slug>|<slug>.json. - Adds a new view/tab to plugins install page ( Plugins > Add New ) titled Dependencies that contains plugin cards for all plugin dependencies.
- Displays a single admin notice with link to Plugins > Add New > Dependencies if not all plugin dependencies have been installed.
- If the dependency API data is not available a generic plugin card will be displayed in the Dependencies tab.
There are several single file plugins that may be used for testing in test-plugins/.
Pull Requests
PRs should be made against the develop branch.