PHP code example of timefactory / apollo
1. Go to this page and download the library: Download timefactory/apollo 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/ */
timefactory / apollo example snippets
protected $commands = [
Timefactory\Apollo\Command\StartApolloAgent::class
];
shell
php artisan apollo:start --server=http://apollo.server.url --appid=demo-api --cluster=default --namespaces=application,mysql,redis --daemon=true