Skip to content

Conversation

@cmatosbc
Copy link

This package intends to provide a more straightforward way to add custom endpoints to Wordpress Rest API (added to mu-plugins with no hooks, as a suggestion), also using a Facade pattern which allows:

  • To attach PSR-16 compliant cache drivers of any nature
  • To attach as many middlewares as you want to modify the request or provide a particular response
  • Interfere in the way cached responses are stored and retrieved (JSON, serialize(), igbinary_serialize())
  • Provide a port to add multiple custom endpoints without repeating code and sharing cache, middleware and variables within, including a dynamic endpoint generation
  • Offer common middlewares to handle common scenarios in REST API development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant