Download the PHP package mettle/big-huge-thesaurus-client without Composer
On this page you can find all versions of the php package mettle/big-huge-thesaurus-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mettle/big-huge-thesaurus-client
More information about mettle/big-huge-thesaurus-client
Files in mettle/big-huge-thesaurus-client
Package big-huge-thesaurus-client
Short Description PHP Client around Big Huge Thesaurus API
License MIT
Homepage https://github.com/mettle/big-huge-thesaurus-client
Informations about the package big-huge-thesaurus-client
BigHugeThesaurusClient
PHP Wrapper for the Big Huge Labs Thesaurus API.
Install
Via Composer
Usage
The response object is an instance of ThesaurusResponse
, an object that wraps the original response and adds a few convenience methods. You can optionally pass an argument to each method to indicate if you want only nouns (noun
), verbs (verb
), adjectives (adjective
) or adverbs (adverb
) otherwise they will return all results combined. The signature of the methods is the following:
The client throws specific exceptions when an error occurs. Those errors are documented on the Big Huge Thesaurus Api Page.
Additionally if an error occurs outside the listed ones, the original Guzzle Exception is thrown.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.