This package provides a client to fetch suggest words to given phrases from Google.
If you use composer, run the command as follows:
composer require satoryu/google_suggestAfter that, you need to require Composer's autoloader:
require 'vendor/autoload.php';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')Under the term of MIT License.