silvercommerce / geozones
Add generic 'geo-zones' a full list of country specific regions and the ability to categorise them into zones
Installs: 5 559
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 2
Open Issues: 0
Type:silverstripe-vendormodule
Requires
- silverstripe/framework: ^4 || ^5
- silverstripe/siteconfig: ^4 || ^5
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.0
Suggests
- silverstripe/cms: Add full content management support to your site
README
Adds the ability to create "Zones" in the SilverStripe admin and assign them to regions.
"Regions" are based on a list of ISO-3166-2
"Subdivisions" and can be mapped to Zones via a dedicated field. New regions can be added via YML
config.
NOTE This module just provides data that you can then work with on your SilverStripe project.
Further Reading
Thanks
Thanks to the debian project for creating the initial list (which this has been built from):
https://salsa.debian.org/iso-codes-team/iso-codes/blob/master/data/iso_3166-2.json