New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

adeel/searchengine

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adeel/searchengine

A simple search engine

Source
Packagist
Version
dev-main
Version published
Total downloads
1
Maintainers
1
Created
Source

Adeel Search Engine

Installation:

  • Open cmd as Administrator
  • Goto to root directory
  • Create an empty file called "composer.json"
  • Run "composer require adeel/searchengine:dev-main" command

Usage:

After installation include following lines in your respected php file.

require_once DIR . '/vendor/autoload.php'; use adeel\searchengine\SearchEngine;

$client = new SearchEngine();

//You can set your search engine here $client->setEngine("google.com");

//Pass your keywords as an array in the following line $results = $client->search(["best hosting","best movie"]);

echo "

";

// Your results will be available in $results variable as an array having the status of the operation and the data retrieved var_dump($results);

echo "

";

FAQs

Package last updated on 06 Jul 2022

Related posts