blesy-babu/search-engine 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blesy-babu/search-engine

Composer 安装命令:

composer require blesy-babu/search-engine

包简介

This is a search engine that can be used to search for a word in a given array of text.

README 文档

README

This is a search engine that can be used to search for a word in a given array of text.

Installation

Php 7+ must be already installed and composer dependency management tool. And CURL is required.

Package available from packagist.

Get Started

if you're using composer, you can add this package

composer require blesy-babu/search-engine

Then you need to load the dependency in your script.

require '../vendor/autoload.php';

Usage

require '../vendor/autoload.php';

use SearchEngine\Search;

$API_KEY = 'your_api_key';

$DOMAIN = 'google.com';

$query = ['Coffee', 'Tea'];

$client = new Search($API_KEY, $DOMAIN);

$results = $client->search($query);

Need to pass 3 variables, $API_KEY ,$DOMAIN,$query . we het api key from - serpapi ,and u can pass $DOMAIN as ex. google.com,googl.ae..., and $query is the words to search. it is an array. from this we get ARRY of serach result.

Features

  • GET array of search item
  • can change search engin

API

Scrape Google and other search engines from our fast, easy, and complete API.

Authors

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固