PHPackages                             api-check/php-client - 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. api-check/php-client

ActiveLibrary[API Development](/categories/api)

api-check/php-client
====================

A wrapper around ApiCheck get to validate addresses.

1.0(3y ago)0932MITPHPPHP ^7.1|^8.0

Since Oct 9Pushed 3y ago2 watchersCompare

[ Source](https://github.com/api-check/php-client)[ Packagist](https://packagist.org/packages/api-check/php-client)[ Docs](https://apicheck.nl/)[ RSS](/packages/api-check-php-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (2)

ApiCheck PHP Client
===================

[](#apicheck-php-client)

This is a PHP client for ApiCheck endpoints. ApiCheck helps you validate customer data.

Currently supported countries: The Netherlands, Belgium, and Luxembourg.

Requirements
------------

[](#requirements)

- Register an account at [ApiCheck Dashboard](https://app.apicheck.nl/authentication/register) and select the appropriate subscription type.
- Create a new API key.

Installation
------------

[](#installation)

Use composer to install this package

```
$ composer require api-check/php-client:^1.0
```

```
{
  "require": {
    "api-check/php-client": "^1.0"
  }
}
```

Examples
========

[](#examples)

The first step is to set your API key (optionally also load autoload.php):

Use the Lookup API
------------------

[](#use-the-lookup-api)

The lookup API is currently only supported for NL and LU. See: [Lookup API documentation](https://apicheck.nl/documentation/lookup-api/)

```
use ApiCheck\Api\ApiClient;

require "./vendor/autoload.php";

$apicheckClient = new ApiClient();
$apicheckClient->setApiKey("YOUR_API_KEY");
```

Use the Lookup API

```
$address = $apicheckClient->lookup('nl', ['postalcode' => '2513AA', 'number' => 1]);
// Do something with the result:
print("🥳 Yay! We have a result: \n $address->street $address->number \n $address->postalcode $address->city \n {$address->Country->name}");
```

Use the Search API
------------------

[](#use-the-search-api)

The search API is currently supported for NL, BE, LU and FR. See: [Search API documentation](https://apicheck.nl/documentation/normalised-search-api/)

```
$results = $apicheckClient->search('be', 'city', ['name' => 'Namur']);
```

This will return an array with the search results

Exceptions
----------

[](#exceptions)

The ApiCheck client uses custom Exceptions to handle failure responses:

```
use ApiCheck\Api\ApiClient;
use ApiCheck\Api\Exceptions\NotFoundException;
use ApiCheck\Api\Exceptions\ValidationException;
use ApiCheck\Api\Exceptions\UnsupportedCountryException;

try {
    $address = $apicheckClient->lookup('nl', ['postalcode' => '2513AA', 'number' => 1]);
} catch (NotFoundException $e) {
    // No results have been found using the supplied data
} catch (ValidationException $e) {
    // One of the submitted fields is not valid or set
} catch (UnsupportedCountryException $e) {
    // The given country-code is not supported
}
```

More examples can be found in the examples directory.

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

Support
-------

[](#support)

Contact: [www.apicheck.nl](https://www.apicheck.nl) —

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fbba6e9dc0a41b3dc76f177d888dd47ab13774b796c6327e2274f6301cea6e8?d=identicon)[ApiCheck](/maintainers/ApiCheck)

---

Top Contributors

[![WouterDoornbos](https://avatars.githubusercontent.com/u/9071887?v=4)](https://github.com/WouterDoornbos "WouterDoornbos (3 commits)")

---

Tags

laravelapicheckaddressvalidationpostalcodeapiaddressapi

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/api-check-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/api-check-php-client/health.svg)](https://phpackages.com/packages/api-check-php-client)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[laravel-freelancer-nl/laravel-index-now

Alert search engines of content changes.

5212.1k](/packages/laravel-freelancer-nl-laravel-index-now)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)

PHPackages © 2026

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