2017 © Pedro Peláez
 

library domainlist

A simple class for lists of domains

image

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

The README.md

DomainList

A quick class for managing lists of domains. Nothing special., (*1)

Test Coverage Code Climate, (*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)

The Versions

16/06 2015

dev-master

9999999-dev

A simple class for lists of domains

  Sources   Download

MIT

The Development Requires