Skip to content

dimitriBouteille/wp-module-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Rest API

GitHub Release tests Packagist Downloads

WordPress module designed for developers that want to add routes to the WordPress Rest API in a few moments.

💡 To simplify the integration of this library, we recommend using WordPress with one of the following tools: Bedrock, Themosis or Wordplate.

Documentation

If you want to know more about how the WordPress API works, you can read the WordPress documentation :)

You can find all the documentation in the wiki.

Installation

Requirements

The server requirements are basically the same as for WordPress with the addition of a few ones :

Installation with composer

You can use Composer. Follow the installation instructions if you do not already have composer installed.

composer require dbout/wp-module-rest-api

In your PHP script, make sure you include the autoloader:

require __DIR__ . '/vendor/autoload.php';

Contributing

We encourage you to contribute to this repository, so everyone can benefit from new features, bug fixes, and any other improvements. Have a look at our contributing guidelines to find out how to raise a pull request.