anunatak/postal

There is no license information available for the latest version (dev-master) of this package.

Maintainers

Package info

github.com/Anunatak/postal

pkg:composer/anunatak/postal

Statistics

Installs: 32

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2015-03-20 15:07 UTC

This package is not auto-updated.

Last update: 2026-03-04 14:38:04 UTC


README

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'