rabbitthegrey / comments-client
There is no license information available for the latest version (v1.0.0) of this package.
comment service client for http://example.com
v1.0.0
2026-06-24 10:20 UTC
Requires
- php: ^8.2
- ext-curl: *
- psr/http-client: ^1.0
- psr/http-factory: ^1.1
Requires (Dev)
- guzzlehttp/psr7: ^2.12
- phpunit/phpunit: ^13.2
This package is auto-updated.
Last update: 2026-06-24 10:43:22 UTC
README
Подключение
composer require rabbitthegrey/comments-client
Использование
$client = new RabbitTheGrey\CommentsClient\CommentClient();
Возаращает список комментариев
$client->getComments();
Добавить комментарий
$newComment = $client->createComment('Ilya', 'comment');
Редактировать комментарий
$updatedComment = $client->updateComment(1, ['name' => 'ne Ilya', 'text' => 'updated comment']);