underpin/rest-middleware

Rest API middleware for scripts

1.1.0 2021-11-23 14:21 UTC

This package is auto-updated.

Last update: 2024-10-23 22:59:43 UTC


README

Middleware that sets up params generally needed for scripts that use the REST API.

Installation

Using Composer

composer require underpin/rest-middleware

Manually

require_once(__DIR__ . '/underpin-middleware/Rest_Middleware.php');

Setup

  1. Install Underpin. See Underpin Docs
  2. Register scripts, and use this middleware. See the Script Loader for more information.