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

symfony/workflow

Provides tools for managing a workflow or finite state machine

49,256,031 630
commerceguys/addressing

Addressing library powered by CLDR and Google's address data.

34,547,442 969
metamel/laravel-addresses

Metamel Addresses is a polymorphic Laravel package, for address book management....

3,799 4
r0bdiabl0/laravel-email-tracker

Multi-provider email tracking for Laravel - track opens, clicks, bounces, compla...

1,796 3
customd/laravel-addressable

Laravel Addressable is a Laravel package to manage addresses that belong to your...

1,442 1