Download the PHP package rifki192/google-url without Composer

On this page you can find all versions of the php package rifki192/google-url. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package google-url

Project Deprecated

This project has been deprecated in favor of a better alternative: http://serp-spider.github.io

That means that the project support will be stoped

Google URL : Google scraper for php

Get ready to query google like a pro and make awesome google searches with PHP

Features

PLEASE READ ALL THE FOLLOWING SECTIONS BEFORE USING IT it contains important informations about the usage.

Be aware...

...that scraping google is forbiden (what an irony for the biggest scraper ever written)... But who cares ?

Google does. And it will stop you with a captcha if you submit too many requests in a short time.

Usually I delay each query with 30 seconds. But if you do a lot of requests it's still too short.

How to counter :

Installation

The library is available on packgist : "sneakybobito/google-url": "dev-master"

If you are not familiar with packagist, you can also use the loader packaged in the repo. To do so download the library (e.g. as a zip from github) and just include the file named `autoload.php̀` :

Example of use

When you use this library you have to keep in mind that querying google is something that you have to control.

You cant use it everytime someone loads a page on your webserver. Indeed it mays be long, it means long time to load the web page. You also have to control the number of query you do over the time. Or else google will consider you as a bot and you will get blocked by the captcha.

Instead you may use it in a cli program that will store results in database. And then query the database from the webpage script.

Once again think about using delays between each query. It is very important for not google to add your server to the blacklist. There is no universal rule for the delays to apply. It is hard to figure out the best delays to use and it requires many tests. That's why people want to keep it secret.

Using Proxy

IMPORTANT WANRING

Using proxy pool offered by the library is currently deprecated because it will be removed from the next release. Proxy management is very specific and can't be implemented in a decent way in the library. The library will continue to offer support for querying through a proxy, but proxy management will be managed by yourself.

Please refere to https://github.com/SneakyBobito/google-url/blob/master/doc/proxy_rotation.md for more complet usage of proxies.

Implemented Languages

Each language matches a google domain (google.com, google.fr, google.de...) and language of the search. You will not have the same results for EN or DE.

The following languages are implemented.

more are comming over the time, but because the language management is going to change soon we dont want to implement too many right now (dont be affraid about using them it's only internal changes).

Support - Contact

Feel free to open an issue for any request/question

Roadmap


All versions of google-url with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rifki192/google-url contains the following files

Loading the files please wait ....