PHP code example of michaelesmith / dyndns-processor-cache
1. Go to this page and download the library: Download michaelesmith/dyndns-processor-cache 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/ */
michaelesmith / dyndns-processor-cache example snippets
$cacheProcessor = new CacheProcessor(
new JsonProcessor(__DIR__ . '/var/dns.json'),
new FilesystemCachePool(
new \League\Flysystem\Filesystem(
new \League\Flysystem\Adapter\Local(__DIR__ . '/../var/')
)
)
);