satoryu / google_suggest
This package provides a client to fetch suggest words to given phrases from Google
0.0.1
2019-04-12 07:02 UTC
Requires
- php: ^7.2
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ^8.1
- psy/psysh: ^0.9.9
This package is auto-updated.
Last update: 2024-10-12 18:45:36 UTC
README
This package provides a client to fetch suggest words to given phrases from Google.
Installation
If you use composer, run the command as follows:
composer require satoryu/google_suggest
After that, you need to require Composer's autoloader:
require 'vendor/autoload.php';
Usage
By require
ing Composer's autloader, you can use
\GoogleSuggest\Client
.
The client class has the method suggestFor
.
use GoogleSuggest\Client; $client = new Client; $suggestions = $client->suggestFor('google')
License
Under the term of MIT License.