Download the PHP package hametuha/rest-pattern without Composer
On this page you can find all versions of the php package hametuha/rest-pattern. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hametuha/rest-pattern
More information about hametuha/rest-pattern
Files in hametuha/rest-pattern
Download hametuha/rest-pattern
More information about hametuha/rest-pattern
Files in hametuha/rest-pattern
Vendor hametuha
Package rest-pattern
Short Description Rest API Patten class for easy create rest-api based WordPress
License GPL-3.0-or-later
Package rest-pattern
Short Description Rest API Patten class for easy create rest-api based WordPress
License GPL-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package rest-pattern
REST Pattern
Rest API Pattern class for easy create rest-api based WordPress.
Installation
Then include autoload.php
in your themes or plugins.
Implementation
This library is abstarct class for REST API. Inherit this class like below:
handle_***
method will handel your request. They should return JSON convertible object(array, object), WP_REST_Restponse
, or WP_Error
. Alternatively, you can throw Exception
in request handler and then will be automatically converted to WP_Error
.
License
GPL 3.0 or later.
All versions of rest-pattern with dependencies
PHP Build Version
Package Version
The package hametuha/rest-pattern contains the following files
Loading the files please wait ....