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

This package is auto-updated.

Last update: 2021-05-12 11:42:09 UTC


README

Packagist Version Build Status

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 requireing 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.