Package Data | |
---|---|
Maintainer Username: | matthewbdaly |
Maintainer Contact: | matthewbdaly@gmail.com (Matthew Daly) |
Package Create Date: | 2017-11-28 |
Package Last Update: | 2017-11-30 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:10:46 |
Package Statistics | |
---|---|
Total Downloads: | 34 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Laravel Postcode lookup integration
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.
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