Download the PHP package zmap95/vietnam-maps without Composer
On this page you can find all versions of the php package zmap95/vietnam-maps. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zmap95/vietnam-maps
More information about zmap95/vietnam-maps
Files in zmap95/vietnam-maps
Package vietnam-maps
Short Description Vietnam's area database.
License MIT
Homepage https://github.com/zmap95/vietnam-maps
Informations about the package vietnam-maps
Vietnam Maps
Database of Vietnam's area.
Data are taken directly from the General Statistics Office of Vietnam.
Install
Extracting
Method 1:
Extract directly via command:
Method 2:
Copy file config và migration
Customize config và migration
- Rename table
Open file config/vietnam-maps.php
and config:
- Rename column
Open file config/vietnam-maps.php
and config:
- Add column
Open the following migration files and customize if you need:
Run migration
Download và import into database
Usage with Models
-
Get all provinces, districts, wards
-
Get data using relationship
-
Relation in Province.php
-
Relation in District.php
- Relation in Ward.php
Changelog
Please see CHANGELOG for more information what has changed recently.
References
License
The Laravel framework is open-sourced software licensed under the MIT license.
All versions of vietnam-maps with dependencies
illuminate/support Version ^5.8|^6|^7|^8|^9|^10|^11
illuminate/database Version ^5.8|^6|^7|^8|^9|^10|^11
illuminate/console Version ^5.8|^6|^7|^8|^9|^10|^11
guzzlehttp/guzzle Version ^7.0.1
maatwebsite/excel Version ^3.1