Either run
$ php composer.phar goffyara/php-mesos-dns "@dev"
or add
"goffyara/php-mesos-dns": "@dev"
to the require
section of your composer.json
file.
available methods - api, dns
use mesosdns\MesosDns;
$MesosDns = new MesosDns([
'url' => 'http://mesos-dns-url:8123/v1/',
'method' => 'api'
]);