An installer for WordPress plugins and themes.
- Store a list of valid WordPress, Newfold, and custom URL plugins and themes, hereinafter referred to as valid plugins and themes.
- Provide REST API endpoints to install and/or activate valid plugins and themes synchronously or asynchronously (using WP_Cron).
- Provide REST API endpoints to check the status of asynchronous requests and functionality to expedite them.
- Provide Service classes that contain all the functionality which can be used independently of the REST API.
- Provide flexibility to install and activate valid plugins and themes synchronously or asynchronously (using WP_Cron).
- If a user requests a valid plugin or theme installation/activation, it should be completed successfully.
- If a user requests an invalid/non-approved plugin or theme installation/activation, it should fail.
- If a user requests to asynchronously install/activate an approved plugin or theme, then the API returns the correct status of the request in the queue.
- If a user requests to expedite an asynchronously queued valid plugin or theme installation/activation, then it must be completed successfully without affecting other requests.
- Update the module version in the
includes/Data/Constants.php
file (the NFD_INSTALLER_VERSION const). - Update the module version in the
package.json and package-lock.json
file as well.
composer config repositories.newfold composer https://newfold-labs.github.io/satis
composer require newfold-labs/wp-module-installer