PHP code example of gadon78921 / comment-client-drom

1. Go to this page and download the library: Download gadon78921/comment-client-drom 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/ */

    

gadon78921 / comment-client-drom example snippets


$response = $commentApiHttp->list($limit, $offset);

$comment = new Comment();
$comment->setName('Ivan');
$comment->setText('Comment_text');
$response = $commentApiHttp->add($comment);