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(2y ago)06PHPPHP 8.2

Since Jul 10Pushed 2y 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 2w 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

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2928442?v=4)[Alexandr Chernov](/maintainers/flexnst)[@flexnst](https://github.com/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

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k54](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

762297.9k53](/packages/civicrm-civicrm-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

64147.9k151](/packages/oat-sa-tao-core)[aedart/athenaeum

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

265.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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