PHPackages                             wdevs/laravel-serpstack - 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. [API Development](/categories/api)
4. /
5. wdevs/laravel-serpstack

ActiveLibrary[API Development](/categories/api)

wdevs/laravel-serpstack
=======================

Easily work with the Serpstack API in a Laravel application.

1.0.5(6y ago)012MITPHPPHP ^7.3

Since Apr 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Paulsky/laravel-serpstack)[ Packagist](https://packagist.org/packages/wdevs/laravel-serpstack)[ Docs](https://github.com/Paulsky/laravel-serpstack)[ RSS](/packages/wdevs-laravel-serpstack/feed)WikiDiscussions master Synced 3d ago

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

Serpstack Laravel API Client
============================

[](#serpstack-laravel-api-client)

Laravel package for the [Serpstack](https://serpstack.com/documentation) API.

Getting Started
---------------

[](#getting-started)

Run the following command to install this package into your project.

```
composer require wdevs/laravel-serpstack
```

Optional: publish the config files with the following command:

```
php artisan vendor:publish --provider="WDevs\LaravelSerpstack\Providers\LaravelSerpstackServiceProvider"
```

Set the environment variables in your .env file like this:

```
SERPSTACK_API_KEY="YOURAPIKEY"
SERPSTACK_SECURE="true"
```

### Prerequisites

[](#prerequisites)

You will need Composer to install this package and a valid Serpstack API key.

### Installing

[](#installing)

After installing this package with Composer, create a new Serpstack instance. And set the your Serpstack API key in your env file.

Something like this:

```
$client = new LaravelSerpstack();

```

And call the desired endpoint

```
$client->search()->searchFor('mcdonalds');

```

The current implemented endpoints are:

- GET /search
- GET /locations

Documentation for the available parameters can be found here:

Running the tests
-----------------

[](#running-the-tests)

Copy the phpunit.xml.dist and rename it to phpunit.xml. Set the env variables in the phpunit.xml files.

PLEASE NOTE: running the tests will cost you credits!!!!

- SERPSTACK\_API\_KEY: A valid Serpstack access key
- SERPSTACK\_SECURE : True for calling the API over HTTPS

Please see the phpunit.xml.dist for the template.

Run the tests in the Tests directory with PHPUnit.

Built With
----------

[](#built-with)

- [Serpstack](https://serpstack.com) - For the API
- [PHPUnit](https://github.com/sebastianbergmann/phpunit/) - Test Framework
- [Laravel](https://github.com/laravel/framework) - Package Framework
- [Laravel Package Boilerplate](https://laravelpackageboilerplate.com) - For boiler template this package

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

### Contributing

[](#contributing)

Please help us to develop this package. Every input and/or feedback is really appreciated! Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email us instead of using the issue tracker.

### Credits

[](#credits)

- [All Contributors](../../contributors)

### License

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~1 days

Total

3

Last Release

2211d ago

PHP version history (2 changes)1.0.3PHP ^7.1

1.0.5PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a887603d3313701e3eefd586700a6cab9902b00d4a1d1fc9930f4f90b659f66c?d=identicon)[MrPaulsky](/maintainers/MrPaulsky)

---

Top Contributors

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

---

Tags

wijnberg.devlaravel-serpstack

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/wdevs-laravel-serpstack/health.svg)

```
[![Health](https://phpackages.com/badges/wdevs-laravel-serpstack/health.svg)](https://phpackages.com/packages/wdevs-laravel-serpstack)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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