muruga/search-engine
Composer 安装命令:
composer require muruga/search-engine
包简介
This is sample search engine based library which can be used in laravel latest versions
README 文档
README
Sample search engine based library can be used for Laravel
Example of Usage
include the class by using the below statement
use Muruga\SearchEngine\Search;
declare the search class
$searchService = new Search();
Set the content to be search, this is required one
$searchService->setSearchContent("avatar the way of water");
Set the page number of the search, this is optional one
$searchService->setStartNumber(20);
Set the search engine, this is optional one. default one is Google. and available search engines are 'Google' and 'Yahoo'
$searchService->setSearchEngine('yahoo');
Use this to search whatever you want
$response = $searchService->doSearch();
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-22