PHP code example of goffyara / php-mesos-dns
1. Go to this page and download the library: Download goffyara/php-mesos-dns 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/ */
goffyara / php-mesos-dns example snippets
use mesosdns\MesosDns;
$MesosDns = new MesosDns([
'url' => 'http://mesos-dns-url:8123/v1/',
'method' => 'api'
]);
sh
$ php composer.phar goffyara/php-mesos-dns "@dev"
sh
"goffyara/php-mesos-dns": "@dev"