This is a small helper tool that simplifies the process of top level domain list update, for the Url highlight library.
Warning
This is not meant to be used publicly. See it as internal project tool.
- Clone Git repository:
git clone git@github.com:vstelmakh/url-highlight-domain-updater.git
- Navigate to repository directory:
cd url-highlight-domain-updater
- Install Composer dependencies:
composer install --prefer-dist --no-dev --optimize-autoloader
Run update-domains console command to crawl top level domains from IANA and save result in Url highlight format:
bin/update-domains result/path/Domains.php
Tip
Use bin/update-domains --help
option to see command documentation and usage examples.
Volodymyr Stelmakh
Licensed under the MIT License. See LICENSE for more information.