Skip to content

FastEndpoints is an elegant way of writing custom WordPress REST endpoints with a focus on readability and IDE auto completion support

License

Notifications You must be signed in to change notification settings

matapatos/wp-fastendpoints

Repository files navigation

WP-FastEndpoints

WordPress REST endpoints made easy

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


FastEndpoints is an elegant way of writing custom WordPress REST endpoints with a focus on readability and IDE auto completion support.

Features

  • 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
  • Able to treat plugins as dependencies via WP-FastEndpoints Depends

Requirements

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.

About

FastEndpoints is an elegant way of writing custom WordPress REST endpoints with a focus on readability and IDE auto completion support

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages