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. drom-test/comment-client

ActiveLibrary

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 1mo ago

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 37% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

665d 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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6503.9M9](/packages/aporat-store-receipt-validator)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)

PHPackages © 2026

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