dev-master
9999999-devPHP Google Search Wrapper based on HTTPFUL
GPLv2 GPL-2.0-or-later
The Requires
by Jonas Felix
PHP Google Search Wrapper based on HTTPFUL
PHP class wrapping the google web search REST API. Based on httpful, psr-4 and composer., (*1)
add the package to your composer.json:, (*2)
"require": { "wingsuitist/googlesearchwrapper": "dev-master",
run composer update in your composer project root, (*3)
include autoloader from composer:, (*4)
require('../vendor/autoload.php');
create a search object:, (*5)
$search = \felixideas\GoogleSearchWrapper\Search::search('Hello World');
coming soon: all the options that you can set for the search, (*6)
let it search and get the result object:, (*7)
$result = $search->run()
get the full response from the result object:, (*8)
$result->getFullResponse();
coming soon: iterator implementation for the result object, (*9)
PHP Google Search Wrapper based on HTTPFUL
GPLv2 GPL-2.0-or-later