2017 © Pedro PelĂĄez
 

library postal

image

anunatak/postal

  • Friday, March 20, 2015
  • by tormjens
  • Repository
  • 1 Watchers
  • 1 Stars
  • 24 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Postal

Simple usage of the postal codes and places for norwegian places., (*1)

Installation

Install using composer:, (*2)

composer require anunatak/postal

This package is compatible with Laravel 5., (*3)

Add the service provider in config/app.php:, (*4)

'Anunatak\Postal\PostalServiceProvider',

And add an alias in the same file:, (*5)

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

Publish the migration for the data, (*6)

php artisan vendor:publish

Migrate the database, (*7)

php artisan migrate

Run an update of the postal codes, (*8)

php artisan postal:update

Usage

Really just one simple function:, (*9)

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

The Versions

20/03 2015

dev-master

9999999-dev

  Sources   Download

The Requires

 

by Anunatak

laravel postal place posten