Download the PHP package sukohi/related-word without Composer
On this page you can find all versions of the php package sukohi/related-word. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package related-word
RelatedWord
Get related words through wikipedia.
Installation
Execute the following composer command.
composer require sukohi/related-word:1.*
Usage
$related_word = new \Sukohi\RelatedWord\RelatedWord();
$related_word->setTag('PHP'); // Required
$related_word->setLocale('ja'); // Optional
$related_word->setLimit(15); // Optional
$related_word->setMinCount(5); // Optional
$keywords = $related_word->get();
Methods
- setTag($keyword)
A keyword you'd like to get related words from.(Required)
- setLocale($locale)
Your locale.(Default is en
)(Optional)
- setLimit($limit)
The number of keywords that you will get at most.(Optional)
- setMinCount($count)
You can get keywords if each keyword appear over $count.(Optional)
License
This package is licensed under the MIT License.
Copyright 2016 Sukohi Kuhoh
All versions of related-word with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
6.*
The package sukohi/related-word contains the following files
Loading the files please wait ....