PHP code example of ltd-beget / dns-zone-tokenizer
1. Go to this page and download the library: Download ltd-beget/dns-zone-tokenizer library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ltd-beget / dns-zone-tokenizer example snippets
use LTDBeget\dns\Tokenizer;
e/exampleZone"); // path to your dns zone file
$plain_config = file_get_contents($config_path);
$tokenized = Tokenizer::tokenize($plain_config); // that's all, folks. All is done =)
shell
$ php phpunit.phar --coverage-html coverage
shell
$ php phpunit.phar --coverage-clover coverage.xml