Download the PHP package somecoding/wp-api-wrapper without Composer
On this page you can find all versions of the php package somecoding/wp-api-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download somecoding/wp-api-wrapper
More information about somecoding/wp-api-wrapper
Files in somecoding/wp-api-wrapper
Package wp-api-wrapper
Short Description This is a Wrapper for the API provided by most Wordpress Blogs. Intended for easy crawling of a Wordpress page.
License MIT
Homepage https://github.com/Dwarfex/WordpressApiWrapper
Informations about the package wp-api-wrapper
Wordpress API Wrapper
This is a Wrapper for the API provided by most Wordpress Blogs. Intended for easy crawling of a Wordpress page.
How to install
For installing you currently need to specify a version of this project as this project is currently not stable.
Simply do: "composer require somecoding/wp-api-wrapper:0.0.x" in your project where x ist the latest version number.
Default Available Services
Some default Services are available to wrap common occurrences of Wordpress API data:
- Users (UserService)
- Categories (CategoriesService)
- Media (MediaService)
- Posts (PostService)
- Search (SearchService)
These services require an API Service for creation. This API Service needs to be initiated with a GuzzleHTTP Client, a Base URL of the Wordpress Site, a Hydrator Interface and optional a PSR simple cache interface.
All versions of wp-api-wrapper with dependencies
ext-json Version ^1
guzzlehttp/guzzle Version ^6.3
psr/http-client Version ^1.0
psr/http-message Version ^1.0
psr/simple-cache Version ^1.0
zendframework/zend-config Version ^3.2
zendframework/zend-hydrator Version ^3.0
zendframework/zend-servicemanager Version ^3.4