Download the PHP package haruncpi/wp-api without Composer
On this page you can find all versions of the php package haruncpi/wp-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download haruncpi/wp-api
More information about haruncpi/wp-api
Files in haruncpi/wp-api
Download haruncpi/wp-api
More information about haruncpi/wp-api
Files in haruncpi/wp-api
Vendor haruncpi
Package wp-api
Short Description An elegant WordPress REST API routing system
License cc-by-4.0
Package wp-api
Short Description An elegant WordPress REST API routing system
License cc-by-4.0
Please rate this library. Is it a good library?
Informations about the package wp-api
WP API
An elegant WordPress REST API routing system.
Support
Documentation
Installation
Configuration
In your plugin init file, write this simple config code.
Route Define
Open api-routes.php
file and write route
Syntax
Where
$prefix
is your plugin name with api version. Example:myplugin/v1
- By default,
$auth
is false means the endpoint can be access without authentication. - To make a endpoint
secure
pass a callback in the place of$auth
Example
Secure route
Various way to write callback.
Multiple route register
With auth check
Plugin Example
API Plugin is a WordPress example plugin for this composer package.
All versions of wp-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package haruncpi/wp-api contains the following files
Loading the files please wait ....