A simple REST API for PHP by Corey Maynard.