anunatak/postal

32 1
Install
composer require anunatak/postal
PHP:>=5.4.0
Last Updated:Mar 20, 2015
Links: GitHub  ·  Packagist
Maintainer: tormjens

Postal

Simple usage of the postal codes and places for norwegian places.

Installation

Install using composer:

composer require anunatak/postal

This package is compatible with Laravel 5.

Add the service provider in config/app.php:

'Anunatak\Postal\PostalServiceProvider',

And add an alias in the same file:

'Postal'            => 'Anunatak\Postal\Postal',

Publish the migration for the data

php artisan vendor:publish

Migrate the database

php artisan migrate

Run an update of the postal codes

php artisan postal:update

Usage

Really just one simple function:

$place = Postal::getPlace('6300'); // returns string: 'Åndalsnes' 

Related Packages

rinvex/addressable

Rinvex Addressable is a polymorphic Laravel package, for addressbook management....

1 1
php-tmdb/laravel

Laravel Package for TMDB ( The Movie Database ) API. Provides easy access to the...

53,303 162
laravel-ja/laravel

The Laravel Framework.

5,667 17
kavenegar/laravel

laravel 4 and 5 kavenegar integration

350,771 85
reliese/laravel

Reliese Components for Laravel Framework code generation.

3,759,523 1,709