myspanishnow / wp-fastendpoints
This package is abandoned and no longer maintained.
The author suggests using the matapatos/wp-fastendpoints package instead.
Fast to type. Fast to run WordPress REST endpoints
v1.1.0
2024-05-02 10:59 UTC
Requires
- php: ^8.1
- ext-json: *
- opis/json-schema: ^2.3
Requires (Dev)
- brain/monkey: 2.*
- dingo-d/wp-pest: ^1.6
- laravel/pint: *
- mikey179/vfsstream: ^1.6
- mockery/mockery: ^1.6
- roots/acorn: ^2.1
This package is auto-updated.
Last update: 2024-05-03 14:45:51 UTC
README
FastEndpoints is an elegant way of writing custom WordPress REST endpoints with a focus on readability and IDE auto completion support.
- Explore our docs at FastEndpoints Wiki »
Features
- Request validation via JSON schemas
- Removes unwanted fields from Responses
- Middlewares support
- IDE auto completion support
- No magic router. It uses WordPress
register_rest_route
- Support for newer JSON schema drafts thanks to json/opis
Requirements
- PHP 8.1+
- WordPress 6.x
- json/opis 2.x
We aim to support versions that haven't reached their end-of-life.
Installation
composer require wp-fastendpoints
FastEndpoints was created by André Gil and is open-sourced software licensed under the MIT license.