underpin / rest-middleware
Rest API middleware for scripts
1.1.0
2021-11-23 14:21 UTC
Requires
- underpin/script-loader: ^1.1
- underpin/underpin: ^2.0
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
- Install Underpin. See Underpin Docs
- Register scripts, and use this middleware. See the Script Loader for more information.