muruga / search-engine
This is sample search engine based library which can be used in laravel latest versions
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/muruga/search-engine
Requires
- guzzlehttp/guzzle: ^7.2
This package is auto-updated.
Last update: 2025-12-27 19:22:16 UTC
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();