2017 © Pedro Peláez
 

library googlesearchwrapper

PHP Google Search Wrapper based on HTTPFUL

image

wingsuitist/googlesearchwrapper

PHP Google Search Wrapper based on HTTPFUL

  • Saturday, February 10, 2018
  • by wingsuitist
  • Repository
  • 2 Watchers
  • 2 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

googlesearchwrapper

PHP class wrapping the google web search REST API. Based on httpful, psr-4 and composer., (*1)

usage

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)

further documentation:

httpful api

  • http://phphttpclient.com/
  • http://phphttpclient.com/docs/

google api

  • https://developers.google.com/web-search/docs/

psr-4

  • http://www.php-fig.org/psr/psr-4/

php composer

  • https://getcomposer.org/

The Versions

10/02 2018

dev-master

9999999-dev

PHP Google Search Wrapper based on HTTPFUL

  Sources   Download

GPLv2 GPL-2.0-or-later

The Requires

 

by Jonas Felix