umbalaconmeogia / yii2-japan-corporate-number-csv
Webpage to view Japanpost Corporate Number CSV data
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
README
This is a simple webpage to view Japan Corporate Number. Data is download from 法人番号公表ウェブサイト
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-japan-corporate-number-csv
or add "umbalaconmeogia/yii2-japan-corporate-number-csv": "*"
to composer.json then run composer update
Edit config
Add to modules in config
$config['modules']['japancorpnum'] = [ 'class' => 'umbalaconmeogia\japancorpnum\Module', ];
Access to the module web page
Now you can access to the module web page via the request japancorpnum/zipcode/index
.
For example http://app/index.php?r=japancorpnum/zipcode/index
Add link to the menu
['label' => 'ZipcodeCsv', 'url' => ['/japancorpnum/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>