Codacy Badge codecov GitHub license Open Source? Yes! PHP Version 7.4+ Maintenance

WPRestClient Logo

a PHP WordPress API Client

WPRestClient is a PHP library for seamless interaction with WordPress sites via the WordPress RESTful API, simplifying authentication, data retrieval, and content management tasks

Features

  • Connect to WordPress sites and authenticate using REST API authentication methods.
  • Retrieve posts, pages, custom post types, categories, tags and other WordPress entities.
  • Get paginated results of WordPress entities
  • Create, update and delete posts and pages.
  • Perform advanced queries and filter responses using the power of the WordPress RESTful API.
  • Use the APIClient for low level calls
  • Use Repositories and gain WordPress entity objects
  • Configurable API Prefix
  • Create custom entities or extend the existing ones
  • Create custom repositories for any endpoint

Installation

View our Installation instructions

Quickstart

Get started by following along our Quickstart Guide

Usage Examples

Contributing

Follow our Contribution Guidelines