Skip to content

afragen/advanced-plugin-dependencies

Repository files navigation

Advanced Plugin Dependencies

  • 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. URI should return a JSON compatible with the plugins_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.

About

Add-on to Plugin Dependencies feature

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published