PHP code example of jsonize / jsonize-php-client
1. Go to this page and download the library: Download jsonize/jsonize-php-client 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/ */
jsonize / jsonize-php-client example snippets
$jsonize = new Jsonize\InstanceJsonize("jsonize");
// $jsonize = new Jsonize\SocketJsonize("localhost", 1234);
$result = $jsonize->invokeSync(array(
"task" => "echo",
"payload" => array(
"foobar" => 1234
)
));
var_dump($result[0]["result"]);
javascript
composer install jsonize/jsonize-php-client