library domainlist
A simple class for lists of domains
timgws/domainlist
A simple class for lists of domains
- Tuesday, June 16, 2015
- by timgws
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
DomainList
A quick class for managing lists of domains. Nothing special., (*1)
, (*2)
Example of adding domains
$list = new DomainList('ing');
$list->add([
$list->c('the awesome € shop'),
$list->c('hex-follows-0xaf--0xfacebeef'),
$list->c('--lol-0xfacebeef')
]);
$domains = $list->get();
//---
$domains = [
'hex-follows-0xaf-0xfacebeef.ing',
'hexfollows0xaf0xfacebeef.ing',
'the-awesome-eur-shop.ing',
'theawesomeeurshop.ing'
];
This class should validate that domains match RFC 1035 valid domains., (*3)
dev-master
9999999-dev
A simple class for lists of domains
Sources
Download
MIT
The Development Requires