PHP code example of sdon2 / ripcord
1. Go to this page and download the library: Download sdon2/ripcord 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/ */
sdon2 / ripcord example snippets
$client = Ripcord::xmlrpcClient( 'http://www.moviemeter.nl/ws' );
$score = $client->film->getScore( 'e3dee9d19a8c3af7c92f9067d2945b59', 500 );
class myTest {
public function Foo() {
return 'Bar';
}
}
$test = new MyTest();
$server = Ripcord::server( $test );
$server->run();