Download the PHP package api-check/php-laravel-client without Composer
On this page you can find all versions of the php package api-check/php-laravel-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download api-check/php-laravel-client
More information about api-check/php-laravel-client
Files in api-check/php-laravel-client
Package php-laravel-client
Short Description ApiCheck wrapper for Laravel - address validation, search, and verification
License MIT
Homepage https://apicheck.nl/
Informations about the package php-laravel-client
ApiCheck Laravel Client
A thin Laravel wrapper for the ApiCheck PHP Client.
ApiCheck helps you validate customer data - addresses, emails, and phone numbers.
Requirements
- PHP 8.2+
- Laravel 12.x
- An ApiCheck API key (get one here)
Using Laravel 10 or 11? Use version 2.x of this package (composer require api-check/php-laravel-client:^2.0).
Installation
The service provider and facade are auto-discovered by Laravel.
Configuration
Publish the config file:
Add to your .env:
If no API key is configured, resolving the client throws an ApiCheck\Laravel\Exceptions\MissingApiKeyException.
Usage
Via Facade
Via Helper Function
Via Dependency Injection
Available Methods
All methods from api-check/php-client are available:
Lookup API (NL, LU)
lookup($country, $query)- Look up address by postal code + house numbergetNumberAdditions($country, $postalcode, $number)- Get available number additions (e.g., "A", "1-3")
Search API (18 European countries)
search($country, $type, $query)- Search by type:city,street,postalcode,address,locality,municipalityglobalSearch($country, $query, $options)- Global search across all scopessearchLocality($country, $name, $options)- Search localities (deelgemeenten, primarily BE)searchMunicipality($country, $name, $options)- Search municipalities (gemeenten, primarily BE)searchAddress($country, $params)- Resolve full address from IDs returned by other searchesgetSupportedSearchCountries()- List supported countries
Verify API
verifyEmail($email)- Validate email address (disposable, greylisted, valid/invalid/unknown)verifyPhone($number)- Validate phone number with formatting and type info
Supported Countries
Lookup API
- Netherlands (nl)
- Luxembourg (lu)
Search API
18 European countries: nl, be, lu, fr, de, cz, fi, it, no, pl, pt, ro, es, ch, at, dk, gb, se
Exception Handling
License
Support
- Website: apicheck.nl
- Email: [email protected]
- Documentation: apicheck.nl/documentation