A PHP REST wrapper using pluggable API definitions