aminulbd/spider
最新稳定版本:0.0.1
Composer 安装命令:
composer require aminulbd/spider
包简介
Grab latest feed from search engine like Google, Bing, WordPress, etc.
README 文档
README
Grab latest feed from search engine like Google, Bing, WordPress, etc.
Installation
Install the package using composer by using this command below.
composer require aminulbd/spider
Usage
Just import \AminulBD\Spider\Spider package and construct it with supported driver and call the find method like as below.
// require '../vendor/autoload.php'; // if you are going with standalone mode. use AminulBD\Spider\Spider; $engine = 'wordpress'; // supported: google, bing and wordpress $config = [ 'base_uri' => 'https://aminul.net/wp-json/wp/', // This is required for wordpress. ]; $spider = new Spider($engine, $config); $finder = $spider->find(['q' => 'WordPress']); $results = $finder->next(); // Here is your results. print_r($results);
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-27