PHPackages                             geocoder-php/provider-integration-tests - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. geocoder-php/provider-integration-tests

ActiveLibrary[Testing &amp; Quality](/categories/testing)

geocoder-php/provider-integration-tests
=======================================

Integration tests Geocoder provider

1.6.4(2y ago)0194.2k↓40%6[1 PRs](https://github.com/geocoder-php/provider-integration-tests/pulls)20MITPHPPHP ^7.3 || ^8.0CI passing

Since Jun 15Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/geocoder-php/provider-integration-tests)[ Packagist](https://packagist.org/packages/geocoder-php/provider-integration-tests)[ RSS](/packages/geocoder-php-provider-integration-tests/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (15)Used By (20)

Geocoder integration tests
==========================

[](#geocoder-integration-tests)

[![Build Status](https://github.com/geocoder-php/provider-integration-tests/actions/workflows/php.yml/badge.svg)](https://github.com/geocoder-php/provider-integration-tests/actions/workflows/php.yml)[![Latest Stable Version](https://camo.githubusercontent.com/3a18dbe97872af18fe93804592907f3649de37d417537b69eb087d9750fc0d57/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f70726f76696465722d696e746567726174696f6e2d74657374732f762f737461626c65)](https://packagist.org/packages/geocoder-php/provider-integration-tests)[![Total Downloads](https://camo.githubusercontent.com/c3ec16db2834f197b69177c84b67966edd3770d11e3073e20585d616fe3c8aac/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f70726f76696465722d696e746567726174696f6e2d74657374732f646f776e6c6f616473)](https://packagist.org/packages/geocoder-php/provider-integration-tests)[![Monthly Downloads](https://camo.githubusercontent.com/becbd8ddc0ef2732efb640f9915114d0510b98b1265a79ece462d40feae41d7c/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f70726f76696465722d696e746567726174696f6e2d74657374732f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/geocoder-php/provider-integration-tests)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This repository contains integration tests to make sure your implementation of a Geocoder Provider is correct.

### Install

[](#install)

```
composer require --dev geocoder-php/provider-integration-tests:dev-master
```

### Use

[](#use)

Create a test that looks like this:

```
use Geocoder\IntegrationTest\ProviderIntegrationTest;
use Geocoder\Provider\GoogleMaps\GoogleMaps;
use Psr\Http\Client\ClientInterface;

class IntegrationTest extends ProviderIntegrationTest
{
    protected function createProvider(ClientInterface $httpClient)
    {
        return new GoogleMaps($httpClient);
    }

    protected function getCacheDir(): string;
    {
        return dirname(__DIR__).'/.cached_responses';
    }

    protected function getApiKey(): string;
    {
        return env('GOOGLE_API_KEY');
    }
}
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance53

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community36

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~145 days

Total

14

Last Release

807d ago

PHP version history (3 changes)1.0.0PHP ^7.0

1.3.0PHP ^7.1

1.5.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/401ccc5eea13c60cf807ae982af00e368e2166e2f26d8eb541dcd881a57385bc?d=identicon)[Nyholm](/maintainers/Nyholm)

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

---

Top Contributors

[![Nyholm](https://avatars.githubusercontent.com/u/1275206?v=4)](https://github.com/Nyholm "Nyholm (17 commits)")[![jbelien](https://avatars.githubusercontent.com/u/1150563?v=4)](https://github.com/jbelien "jbelien (11 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![JaZo](https://avatars.githubusercontent.com/u/3475007?v=4)](https://github.com/JaZo "JaZo (1 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")[![claudiu-cristea](https://avatars.githubusercontent.com/u/473868?v=4)](https://github.com/claudiu-cristea "claudiu-cristea (1 commits)")[![sheub](https://avatars.githubusercontent.com/u/5184672?v=4)](https://github.com/sheub "sheub (1 commits)")[![TerjeBr](https://avatars.githubusercontent.com/u/2794247?v=4)](https://github.com/TerjeBr "TerjeBr (1 commits)")

---

Tags

testgeocoderprovider

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/geocoder-php-provider-integration-tests/health.svg)

```
[![Health](https://phpackages.com/badges/geocoder-php-provider-integration-tests/health.svg)](https://phpackages.com/packages/geocoder-php-provider-integration-tests)
```

###  Alternatives

[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[fr3d/swagger-assertions

Test your API requests and responses against your swagger definition

138850.9k5](/packages/fr3d-swagger-assertions)[innmind/black-box

Test library

44178.7k93](/packages/innmind-black-box)[laminas/laminas-test

Tools to facilitate integration testing of laminas-mvc applications

122.9M184](/packages/laminas-laminas-test)

PHPackages © 2026

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