PHP code example of mufuphlex / cplt
1. Go to this page and download the library: Download mufuphlex/cplt 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/ */
mufuphlex / cplt example snippets
array(3) {
'r' =>
array(5) {
[0] =>
string(7) "started"
[1] =>
string(8) "standing"
[2] =>
string(6) "stairs"
[3] =>
string(9) "staggered"
[4] =>
string(5) "state"
}
'e' =>
NULL
'p' =>
string(36) "sta 5 0 0.0003509521484375 1 408 304"
}
bash
wget https://github.com/Mufuphlex/cplt/archive/master.zip
unzip master.zip
cd cplt-master
composer install --no-dev
cd demo
php initiator.php 1>cplt.log 2>cplt.log &
php requester.php 'sta'