PHPackages                             slvler/serpapi-search-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. slvler/serpapi-search-api

ActiveLibrary[Search &amp; Filtering](/categories/search)

slvler/serpapi-search-api
=========================

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

v1.1.0(1y ago)01MITPHP

Since Nov 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/slvler/serpapi-web-search)[ Packagist](https://packagist.org/packages/slvler/serpapi-search-api)[ Docs](https://github.com/slvler/serpapi-web-search)[ RSS](/packages/slvler-serpapi-search-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Serpapi Web Search API
======================

[](#serpapi-web-search-api)

[![tests](https://github.com/slvler/serpapi-web-search/actions/workflows/tests.yml/badge.svg)](https://github.com/slvler/serpapi-search-api)[![Latest Stable Version](https://camo.githubusercontent.com/98eb40fed88d7965b5a0ee7e1991ba9057be4e3e86624fb6bfc7ec3a6b6efb5f/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f736572706170692d7365617263682d6170692f76)](https://packagist.org/packages/slvler/serpapi-search-api)[![Latest Unstable Version](https://camo.githubusercontent.com/c4b535913c6efec61c871597342e3d5ba3487379a60f0aa327674ab426ba18bd/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f736572706170692d7365617263682d6170692f762f756e737461626c65)](https://packagist.org/packages/slvler/serpapi-search-api)[![License](https://camo.githubusercontent.com/54c213a451738a2fdf23dcf3e7f6c93b4786e7a760f7407f87e0bb0a282fb341/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f736572706170692d7365617263682d6170692f6c6963656e7365)](https://packagist.org/packages/slvler/serpapi-search-api)[![Total Downloads](https://camo.githubusercontent.com/289180288cfbfc3cf80afc4bfa497336ecf8f2d0f9a475da1d6828f17ceb5642/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f736572706170692d7365617263682d6170692f646f776e6c6f616473)](https://packagist.org/packages/slvler/serpapi-search-api)

### Introduction

[](#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  using a GET request.

### Requirements

[](#requirements)

- PHP 8.0+
- Laravel 10.x

### Installation

[](#installation)

To install this package tou can use composer:

```
composer require slvler/serpapi-web-search
```

### Usage

[](#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

[](#web-text-search)

- You can use it to search on serpapi api:

```
use Slvler\Serpapi\Facades\Serpapi;

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

### Testing

[](#testing)

```
composer test
```

### Credits

[](#credits)

- [slvler](https://github.com/slvler)

### License

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/slvler/serpapi-web-search/blob/main/LICENSE.md) for more information.

### Contributing

[](#contributing)

You're very welcome to contribute. Please see [CONTRIBUTING](https://github.com/slvler/serpapi-web-search/blob/main/CONTRIBUTING.md) for details.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

549d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ab8128832fb3e8a0d513453a903d7c49475f5f89dbf7ec39cf1d0518026b7ea?d=identicon)[slvler](/maintainers/slvler)

---

Top Contributors

[![selviler](https://avatars.githubusercontent.com/u/56368718?v=4)](https://github.com/selviler "selviler (10 commits)")

---

Tags

phpsearchlaravelserpapi

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/slvler-serpapi-search-api/health.svg)

```
[![Health](https://phpackages.com/badges/slvler-serpapi-search-api/health.svg)](https://phpackages.com/packages/slvler-serpapi-search-api)
```

###  Alternatives

[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[omaressaouaf/query-builder-criteria

Define reusable query criteria for filtering, sorting, search, field selection, and includes in Laravel Eloquent models

282.4k](/packages/omaressaouaf-query-builder-criteria)[remoblaser/search

A simple to implement Search for your Application

101.5k](/packages/remoblaser-search)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
