yii2-geodb

The yii2-geodb geographical database, covers all countries and more than four million cities

  • 所有者: lembdev/yii2-geodb
  • 平台:
  • 许可证:
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

yii2-geodb

The yii2-geodb geographical database, covers all countries and more than four million cities
Based upon geodb database (http://download.geodb.org/export/dump).

Provide RESTful controllers for:

  • Countries
  • Regions
  • Cities
  • Cities names
  • Timezones

Provide controller for Select2 input widget

Requirements

  • The minimum requirement by Yii is that your Web server supports PHP 5.5.
  • PHP extention ext-zip
  • memory_limit set to >= 128Mb

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-source "lembadm/yii2-geodb" "dev-master"

or add

"lembadm/yii2-geodb": "dev-master"

to the require section of your composer.json file.

Add to config/web.php and config/console.php

'modules' => [
    ...
    'geo' => 'lembadm\geodb\Module',
    ...
],

Then run the migration

./yii migrate/up --migrationPath='@vendor/lembadm/yii2-geodb/migrations'

Usage

See demo folder

Contributors

License

This work is licensed under a Creative Commons Attribution 3.0 License,
see (http://creativecommons.org/licenses/by/3.0/)
The Data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.

Comments / Suggestions

Please provide any helpful feedback or requests.

Sorry for my English. Thanks.

主要指标

概览
名称与所有者lembdev/yii2-geodb
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证
所有者活动
创建于2016-04-13 19:00:50
推送于2016-05-14 22:28:08
最后一次提交2016-05-15 01:28:06
发布数1
最新版本名称1.0.0 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数2
关注者数3
派生数0
提交数3
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?