slvler/serpapi-search-api 问题修复 & 功能扩展

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

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

slvler/serpapi-search-api

最新稳定版本:v1.1.0

Composer 安装命令:

composer require slvler/serpapi-search-api

包简介

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

README 文档

README

tests Latest Stable Version Latest Unstable Version License Total Downloads

Introduction

API endpoint allows you to scrape the results from Google search engine via our SerpApi service. Head to the playground for a live and interactive demo. You can query https://serpapi.com/search using a GET request.

Requirements

  • PHP 8.0+
  • Laravel 10.x

Installation

To install this package tou can use composer:

composer require slvler/serpapi-web-search

Usage

  • First, you should extract the config/serpapi.php file to the config folder.
php artisan vendor:publish --tag=serpapi
  • First of all we'll add the API key and API Url of the service we're using to our .env file of our project. If you don't have an account yet on serpapi.com, you should create one. Once you have an account you can copy your API key from the dashboard page and put it into you .env file.
SERPAPI_BASE_URL=https://serpapi.com
SERPAPI_API_VERSION=
SERPAPI_API_KEY=

Web text search

  • You can use it to search on serpapi api:
use Slvler\Serpapi\Facades\Serpapi;

Serpapi::search(['q' => "bitcoin"])->result();

Testing

composer test

Credits

License

The MIT License (MIT). Please see License File for more information.

Contributing

You're very welcome to contribute. Please see CONTRIBUTING for details.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固