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 Docs »
- Decouples request validation from main logic
- 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 opis/json-schema
- PHP 8.1+
- WordPress 6.x
- opis/json-schema
- php-di/invoker
We aim to support versions that haven't reached their end-of-life.
composer require wp-fastendpoints
FastEndpoints was created by André Gil and is open-sourced software licensed under the MIT license.