astro / searchengine
Google search crawler
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/astro/searchengine
This package is auto-updated.
Last update: 2026-01-12 21:44:28 UTC
README
Crawls google.com and google.ae
Installation
Use composer composer to install searchengine.
composer require astro/searchengine
Usage
Create a new test PHP file
<?php namespace Astro; require_once './vendor/autoload.php'; #create new instance $client = new SearchEngine(); #set search engine (google.com or google.ae) $client->setEngine("google.ae"); #enter search keywords $results = $client->search(["amazon","tuna"]); #print the results print_r($results); ?>
Run your php file.
php test.php