Skip to content

Attributes-PHP/wp-fastendpoints-depends

Repository files navigation

WP-FastEndpoints-Depends

Treating plugins as dependencies

GitHub Actions Workflow Status (main) Code Coverage Supported WordPress Versions Software License


WP-FastEndpoints Depends allows you to treat plugins as dependencies to speed up your REST endpoints

Features

  • Only includes the plugins you need for the endpoint
  • No code changes needed. Just install and activate this plugin as an MU plugin
  • Full support to both native WP REST endpoints and WP-FastEndpoints

Requirements

Installation

Using Bedrock

  1. Navigate to the Bedrock root folder
  2. Install the following composer package composer require attributes-php/wp-fastendpoints-depends
  3. Run the following WP CLI command wp fastendpoints depends or activate any plugin on the website
  4. Enjoy 😊

Using standard WordPress structure

  1. Download latest plugin from our Releases page
  2. Install plugin as a MU-plugin
  3. Run the following WP CLI command wp fastendpoints depends or activate any plugin on the website
  4. Enjoy 😊

New deployment

When doing a new deployment you will need to re-generate the route dependencies by either:

  1. Re-run the following WP CLI command wp fastendpoints depends or to
  2. Activate any plugin on the website

WP-FastEndpoints Depends was created by André Gil and is open-sourced software licensed under the MIT license.

Contributors 2

  •  
  •  

Languages