New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

matthewbdaly/laravel-postcodes

A Laravel and Lumen integration for matthewbdaly/postcode-client to enable postcode lookups with Ideal Postcodes
36 1
Install
composer require matthewbdaly/laravel-postcodes
Latest Version:0.0.2
License:MIT
Last Updated:Nov 30, 2017
Links: GitHub  ·  Packagist
Maintainer: matthewbdaly

laravel-postcodes

Laravel Postcode lookup integration Build Status Coverage Status

UK postcode lookup service provider for Laravel and Lumen. Uses Postcode Client to enable lookups using Ideal Postcodes.

Note that this service provider caches lookups indefinitely, since they don't change too often, but you may want to clear the cache from time to time. To do this, flush the postcodes tag.

Installation for Laravel

This package is only intended for Laravel 5.5 and up. Install it with the following command:

$ composer require matthewbdaly/laravel-postcodes

Then publish the config file:

$ php artisan vendor:publish

And add your API key to the .env file:

IDEAL_POSTCODES_API_KEY=foo

Related Packages

bunches/postcode

A PHP package for handling and formatting UK postcodes.

5,184 0
kiendaotac/lumen-installer

Lumen application installer.

12 0
brick/postcode

A library to format and validate postcodes

2,152,967 87
appzcoder/lumen-routes-list

Display the route list of Lumen

746,624 117
codeception/module-lumen

Codeception module for Lumen framework

167,947 0

Version History

Version Released License
0.0.2 MIT
0.0.1 MIT