https://github.com/satoryu/google_suggest-php
This package provides a client to fetch suggest words to given phrases from Google.
https://github.com/satoryu/google_suggest-php
google-suggestions php
Last synced: 2 months ago
JSON representation
This package provides a client to fetch suggest words to given phrases from Google.
- Host: GitHub
- URL: https://github.com/satoryu/google_suggest-php
- Owner: satoryu
- Created: 2019-04-10T09:09:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-12T07:06:20.000Z (about 6 years ago)
- Last Synced: 2025-01-30T19:48:01.627Z (4 months ago)
- Topics: google-suggestions, php
- Language: PHP
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Suggest

[](https://travis-ci.org/satoryu/google_suggest-php)This package provides a client to fetch suggest words to given phrases from Google.
## Installation
If you use [composer](), run the command as follows:
```sh
composer require satoryu/google_suggest
```After that, you need to require Composer's autoloader:
```php
require 'vendor/autoload.php';
```## Usage
By `require`ing Composer's autloader, you can `use` `\GoogleSuggest\Client`.
The client class has the method `suggestFor`.```php
use GoogleSuggest\Client;$client = new Client;
$suggestions = $client->suggestFor('google')
```## License
Under the term of MIT License.