Download the PHP package astronati/wordpress-api-response-parser without Composer
On this page you can find all versions of the php package astronati/wordpress-api-response-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astronati/wordpress-api-response-parser
More information about astronati/wordpress-api-response-parser
Files in astronati/wordpress-api-response-parser
Package wordpress-api-response-parser
Short Description Allows to map responses provided by any Wordpress API.
License MIT
Informations about the package wordpress-api-response-parser
Wordpress API Response Parser
Allows to map responses provided by Wordpress API.
Supported Responses
Not all responses are currently supported but we are happy to work for you if you need some of them.
NOTE: To add another response into the supported list, please file a new issue.
To do that please file a new issue.
Installation
You can install the library and its dependencies using composer
running:
Usage
The library allows to return a model per each response and its content (post, tag, category, etc...).
Example
The following snippet can be helpful:
For more details please take a look at Response.
Development
The environment requires phpunit, that has been already included in the dev-dependencies
of the
composer.json
.
Dependencies
To install all modules you just need to run following command:
Testing
Tests files are created in dedicates folders that replicate the src structure as follows:
Execute following command to run the tests suite:
Run what follows to see the code coverage:
License
This package is released under the MIT license.
All versions of wordpress-api-response-parser with dependencies
ext-json Version *