search-engine/crawling-search-engine

The package is supposed to be a library for crawling search engine results and extracting metadata for a set of keywords for the first 5 pages.

2.3 2022-07-04 15:51 UTC

This package is auto-updated.

Last update: 2025-06-04 22:19:55 UTC


README

The package is supposed to be a library for crawling search engine results and extracting metadata for a set of keywords for the first 5 pages.

Installation

Requirements

The latest version of the SDK requires PHP version 7.1 or higher.

You can import this SDK into your library two ways, either through including the base HelloSign.php file into your project or using Composer.

To use Composer:

  • First, install Composer if you don't have it already

    curl -sS https://getcomposer.org/installer | php
  • Create a composer.json file and add the following:

    {
        "require": {
    		"search-engine/crawling-search-engine": "^2.3"
        }
    }
  • OR

    composer require search-engine/crawling-search-engine
    
    
  • Install crawling-search-engine package via Composer

    php composer.phar install
  • Include the library in your script

    require_once 'vendor/autoload.php';
    
    use SearchEngine\SearchEngine;
  • See below for how to configure your Client class.

Sample Usage

use SearchEngine\SearchEngine;

$client = new SearchEngine();

$client->setEngine("google.ae");

$results = $client->search(["Mammootty","Mohan lal"]);

echo '<pre>';

print_r($results);