Download the PHP package spikkl/spikkl-php-laravel-client without Composer
On this page you can find all versions of the php package spikkl/spikkl-php-laravel-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spikkl/spikkl-php-laravel-client
More information about spikkl/spikkl-php-laravel-client
Files in spikkl/spikkl-php-laravel-client
Package spikkl-php-laravel-client
Short Description Spikkl API client wrapper for Laravel
License BSD-2-Clause
Homepage https://github.com/spikkl/spikkl-php-laravel-client
Informations about the package spikkl-php-laravel-client
Spikkl for Laravel
Spikkl-php-laravel-client incorporates the Spikkl API into your Laravel or Lumen project.
Requirements
- 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 >= 7.1.
- Laravel (or Lumen) >= 5.5
Installation
Add Spikkl-php-laravel-client to your composer file via the composer require
command:
Or add it to composer.json
manually:
Spikkl-php-laravel-client's service provider will be automatically registered using Laravel's auto-discovery feature.
Note: for Lumen you have to add the Spikkl facade and service provider manually to: bootstrap/app.php
:
Configuration
You will only need to add the SPIKKL_API_KEY
variable to your .env
file.
Example usage
Here you can see an example of just how simple this package is to use.
Location lookup by supported country code, postal code, street number, and street number suffix.
Location reverse lookup by supported country code, longitude, and latitude.
Note: longitude and latitude values will be rounded to 9 decimal places.
Global helper method
For your convenience we have added the global spikkl()
helper function. It is an easy shortcut to the Spikkl::api()
facade accessor.
License
BSD (Berkeley Software Distribution) License. Copyright (c) 2020, Spikkl
Support
Contact: www.spikkl.nl — [email protected]
All versions of spikkl-php-laravel-client with dependencies
ext-json Version *
illuminate/support Version ^6.0 | ^7.0 | ^8.0 | ^9.0
spikkl/spikkl-php-client Version ^1.1