Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 827 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 827 Bytes

Google Suggest

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.