PHP code example of apollo-sdk / clientd
1. Go to this page and download the library: Download apollo-sdk/clientd 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/ */
apollo-sdk / clientd example snippets
bash
git clone [email protected]:fengzhibin/apollo-configd.git
cd apollo-configd
composer install -vvvo
php ./bin/apollo-clientd.php --help
bash
wget "https://github.com/fengzhibin/apollo-sdk-clientd/releases/download/1.0.0/apollo-clientd.phar"
php apollo-clientd.phar --help
bash
php ./bin/apollo-clientd.php --server="http://apollo-configserver.demo.com" --conf-portal="demo/test/apollo-clientd"
或者
php apollo-clientd.phar --server="http://apollo-configserver.demo.com" --conf-portal="demo/test/apollo-clientd"