This generates a PHP class with a list of IPv4 addresses that correspond to datacenters, co-location centers, shared and virtual webhosting providers. In other words, ip addresses that end web consumers should not be using.
ipcat: datasets for categorizing IP addresses.
Adpated to php 5.4+ from https://github.com/client9/ipcat.
composer require adaures/ipcat-php