This is a PHP boilerplate for the WordPress REST API. It is based on Foundation for Sites.
git clone https://github.com/Nodopiano/wp-api-php-boilerplate
yarn
bower install
composer install
(it starts a php server, so you need PHP > 5.6)
yarn start
-
Routing, bootstrapping and autoloading are heavily inspired by Jeffrey Way's Laracast lessons: "The PHP Practitioner". We are better developers because of him.
-
The idea of a slim and fast boilerplate for WP API came from a talk at Milan WordCamp 2016 by Siobhan McKeown