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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?