-
-
Notifications
You must be signed in to change notification settings - Fork 33
Home
Raruto edited this page Feb 19, 2020
·
5 revisions
- Contributors: Andy Fragen, Matt Gibbs, Raruto, contributors
- Tags: plugin, dependency, install
- Requires at least: 5.1
- Requires PHP: 5.6
- Stable tag: master
- Donate link: https://thefragens.com/wp-dependency-installer-donate
- License: MIT
A lightweight class to add to WordPress plugins or themes to automatically install required plugin dependencies. Uses a JSON config file to declare plugin dependencies.
This is a drop in class for developers to optionally or automatically install plugin dependencies for their own plugins or themes. It can install a plugin from w.org, GitHub, Bitbucket, GitLab, Gitea, or a direct URL. You must include a JSON config file in the root directory of the plugin/theme file.
This repository contains an example plugin and an example JSON configuration file. Only required dependencies are installed automatically, optional dependencies are not. Required dependencies are always kept active.
PRs are welcome against the develop
branch.