Download the PHP package spikkl/spikkl-php-client without Composer
On this page you can find all versions of the php package spikkl/spikkl-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spikkl/spikkl-php-client
More information about spikkl/spikkl-php-client
Files in spikkl/spikkl-php-client
Package spikkl-php-client
Short Description Spikkl API client library for PHP
License BSD-2-Clause
Homepage https://www.spikkl.nl/documentation
Informations about the package spikkl-php-client
Spikkl API client for PHP
Requirements
To use the Spikkl API client, the following things are required:
- Get yourself a free Spikkl account. No sign up costs.
- Follow a few steps to enable a suitable subscription to talk to the API.
- A valid API key which can be generated from your Spikkl dashboard.
- PHP >= 5.6.
Installation
The easiest way to install the Spikkl API client is to require it with Composer.
Manual
If you are not familiar with using composer, we have added a ZIP file to the release containing the API client and all the package normally installed by composer. Download spikkl-php-client.zip
from the release page.
Include the vendor/autoload.php
as shown in Initialize example.
Getting Started
Initializing the Spikkl API Client, and setting up your API key.
Perform a postal code lookup request.
Perform a lookup by coordinate (longitude, latitude).
Note: longitude and latitude values will be rounded to 9 decimal places.
Exception handling
The Spikkl API uses conventional HTTP response codes to indicate or failure of an API request. Code in the 2xx
range indicate success and code in the 4xx
range indicate failure. The Spikkl API client uses specific exceptions for specific failure responses.
The reverse lookup request could throw additional exceptions.
API documentation
If you wish to learn more about our API, please visit the Spikkl API Documentation.
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2020, Spikkl
Support
Contact: www.spikkl.nl — [email protected]
All versions of spikkl-php-client with dependencies
ext-curl Version *
ext-json Version *
guzzlehttp/guzzle Version ^6.3 || ^7.0