PHPackages                             flexnst/example-com-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. flexnst/example-com-client

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

flexnst/example-com-client
==========================

Example.com comments client

1.0.0(1y ago)06PHPPHP 8.2

Since Jul 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/flexnst/example-com-client)[ Packagist](https://packagist.org/packages/flexnst/example-com-client)[ RSS](/packages/flexnst-example-com-client/feed)WikiDiscussions master Synced 1mo ago

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

ExampleCom client
=================

[](#examplecom-client)

Часть 1:
--------

[](#часть-1)

Задача:

> Есть список директорий неизвестно насколько большой вложенности В директории может быть файл count Нужно пройтись по всем директориям и вернуть сумму всех чисел из файла count (файлов count может быть много)

Пример: `examples/part_1.php`

Часть 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 писать не надо! Только библиотеку для работы с ним.

Пример: `examples/part_2.php`

Lint &amp; Tests:
=================

[](#lint--tests)

```
docker compose up
```

Setup
=====

[](#setup)

```
composer require flexnst/example-com-client
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

675d ago

### Community

Maintainers

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

---

Top Contributors

[![flexnst](https://avatars.githubusercontent.com/u/2928442?v=4)](https://github.com/flexnst "flexnst (1 commits)")

---

Tags

clientcommentstzexample.com

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/flexnst-example-com-client/health.svg)

```
[![Health](https://phpackages.com/badges/flexnst-example-com-client/health.svg)](https://phpackages.com/packages/flexnst-example-com-client)
```

###  Alternatives

[usamamuneerchaudhary/commentify

Easy Laravel Livewire Comments with TailwindCSS UI

23214.3k](/packages/usamamuneerchaudhary-commentify)[formapro/telegram-bot

PHP Telegram Bot

2532.5k](/packages/formapro-telegram-bot)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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