silvercommerce / geozones
Add generic 'geo-zones' a full list of country specific regions and the ability to categorise them into zones
Package info
github.com/silvercommerce/geozones
Type:silverstripe-vendormodule
pkg:composer/silvercommerce/geozones
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