PHPackages                             drom-test/comment-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. drom-test/comment-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

drom-test/comment-client
========================

1.0(1y ago)06PHPPHP &gt;=8.1

Since Jul 21Pushed 1y ago1 watchersCompare

[ Source](https://github.com/slave0/test-comment-client)[ Packagist](https://packagist.org/packages/drom-test/comment-client)[ RSS](/packages/drom-test-comment-client/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

### Задание 2

[](#задание-2)

Необходимо реализовать клиент для абстрактного (вымышленного) сервиса комментариев "example.com". Проект должен представлять класс или набор классов, который будет делать http запросы к серверу. На выходе должна получиться библиотека, который можно будет подключить через composer к любому другому проекту. У этого сервиса есть 3 метода: GET  - возвращает список комментариев POST  - добавить комментарий. PUT [http://example.com/comment/{id}](http://example.com/comment/%7Bid%7D) - по идентификатору комментария обновляет поля, которые были в в запросе Объект comment содержит поля: id - тип int. Не нужно указывать при добавлении. name - тип string. text - тип string. Написать phpunit тесты, на которых будет проверяться работоспособность клиента. Сервер example.com писать не надо! Только библиотеку для работы с ним.

### Установка

[](#установка)

```
composer require drom-test/comment-client
```

### Использование

[](#использование)

Для использования клиента следует обращаться к классу `CommentClient`

### Тестирование

[](#тестирование)

```
composer test
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

712d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ddc8983379bde34d0d83edb0e581e2612d90c13305155baf5619d009d138d414?d=identicon)[slave0](/maintainers/slave0)

---

Top Contributors

[![Konstantin-si](https://avatars.githubusercontent.com/u/49971042?v=4)](https://github.com/Konstantin-si "Konstantin-si (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/drom-test-comment-client/health.svg)

```
[![Health](https://phpackages.com/badges/drom-test-comment-client/health.svg)](https://phpackages.com/packages/drom-test-comment-client)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M737](/packages/sylius-sylius)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
