PHP code example of carno-php / skel-rpcd

1. Go to this page and download the library: Download carno-php/skel-rpcd 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/ */

    

carno-php / skel-rpcd example snippets


namespace App\Services;

class MyService extends \Carno\RPC\Server implements \ServiceAPI
{
    public function method()
    {
        // your code
    }
}

return [
    \App\Services\MyService::class,
];