anunatak/postal 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

anunatak/postal

Composer 安装命令:

composer require anunatak/postal

包简介

README 文档

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' 

统计信息

  • 总下载量: 32
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-03-20