umbalaconmeogia / yii2-japanpost-zipcode-csv
Webpage to view Japanpost zipcode CSV data
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
README
This is a website to view Japanpost zipcode data published at Japan Post.
It is release as an yii2 module so that can be added into yii2 web application.
Add this module into an yii2 web application
Install the module
Run
composer require umbalaconmeogia/yii2-japanpost-zipcode-csv
or add "umbalaconmeogia/yii2-japanpost-zipcode-csv": "*"
to composer.json then run composer update
Edit config
Add to modules in config
$config['modules']['japanzipcodecsv'] = [ 'class' => 'umbalaconmeogia\japanzipcodecsv\Module', ];
Access to the module web page
Now you can access to the module web page via the request japanzipcodecsv/zipcode/index
.
For example http://app/index.php?r=japanzipcodecsv/zipcode/index
Add link to the menu
['label' => 'ZipcodeCsv', 'url' => ['/japanzipcodecsv/zipcode/index']],
Other operation to maintain the data of the module
- Update to newest data (TBD).
- Set data version
php yii system-setting/set-zipcode-version <version>