Easily work with the Valueserp API in a Laravel application.

1.0 2021-10-28 09:21 UTC

This package is auto-updated.

Last update: 2022-06-28 10:54:28 UTC


Laravel package for the Valueserp API.

Getting Started

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

composer require wdevs/laravel-valueserp

Optional: publish the config files with the following command:

php artisan vendor:publish --provider="WDevs\LaravelValueserp\Providers\LaravelValueserpServiceProvider"

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



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


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

Something like this:

$client = new LaravelValueserp();

And call the desired endpoint


The current implemented endpoints are:

  • GET /search

Documentation for the available parameters can be found here: https://www.valueserp.com/docs/search-api/overview

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!!!!

  • VALUESERP_API_KEY: A valid Valueserp API key

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

Run the tests in the Tests directory with PHPUnit.

Built With


Please see CHANGELOG for more information what has changed recently.


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


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



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