From c8859ab653077d6b14d628f4ca60cca75e66cd55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=97=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD?= Date: Wed, 15 Jul 2026 11:53:41 +0400 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=D1=80=D0=B0=D1=81=D1=88=D0=B8?= =?UTF-8?q?=D1=80=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=BD=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=80=20=D0=B1=D0=B5=D0=B9=D0=B4=D0=B6=D0=B5=D0=B9=20=D0=B8=20?= =?UTF-8?q?self-hosted=20coverage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Coverage переведён с неработающего codecov на self-hosted endpoint (GitHub Pages), как в остальных пакетах. Добавлены бейджи популярности и сообщества со ссылками на соответствующие страницы: downloads → stats, звёзды Packagist и GitHub, форки, issues, dependents, suggesters, security advisories. --- README.md | 27 +++++++++++++++++++-------- wiki/_Footer.md | 5 +++++ 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f695f4c..9f0affa 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,29 @@ # CloudCastle Clock -[![Packagist Version](https://img.shields.io/packagist/v/cloudcastle/clock?label=packagist&color=3b82f6)](https://packagist.org/packages/cloudcastle/clock) -[![Downloads](https://img.shields.io/packagist/dt/cloudcastle/clock?label=downloads&color=f97316)](https://packagist.org/packages/cloudcastle/clock) -[![PHP Version](https://img.shields.io/packagist/php-v/cloudcastle/clock?color=777bb4)](https://packagist.org/packages/cloudcastle/clock) + +[![Packagist Version](https://img.shields.io/packagist/v/cloudcastle/clock?logo=packagist&logoColor=white&label=packagist&color=3b82f6)](https://packagist.org/packages/cloudcastle/clock) +[![Total Downloads](https://img.shields.io/packagist/dt/cloudcastle/clock?logo=packagist&logoColor=white&label=downloads&color=f97316)](https://packagist.org/packages/cloudcastle/clock/stats) +[![Monthly Downloads](https://img.shields.io/packagist/dm/cloudcastle/clock?label=%2Fmonth&color=f97316)](https://packagist.org/packages/cloudcastle/clock/stats) +[![PHP Version](https://img.shields.io/packagist/php-v/cloudcastle/clock?logo=php&logoColor=white&color=777bb4)](https://packagist.org/packages/cloudcastle/clock) +[![License](https://img.shields.io/github/license/cloudcastle-apps/clock?color=22c55e)](LICENSE) + [![Quality](https://github.com/cloudcastle-apps/clock/actions/workflows/quality.yml/badge.svg)](https://github.com/cloudcastle-apps/clock/actions/workflows/quality.yml) [![CodeQL](https://github.com/cloudcastle-apps/clock/actions/workflows/codeql.yml/badge.svg)](https://github.com/cloudcastle-apps/clock/actions/workflows/codeql.yml) +[![Coverage](https://img.shields.io/endpoint?url=https%3A%2F%2Fcloudcastle-apps.github.io%2Fclock%2Fcoverage.json)](https://github.com/cloudcastle-apps/clock/actions/workflows/deploy-pages.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/cloudcastle-apps/clock/badge)](https://securityscorecards.dev/viewer/?uri=github.com/cloudcastle-apps/clock) - -[![PHPStan](https://img.shields.io/badge/PHPStan-max-brightgreen)](https://phpstan.org/) +[![Security Advisories](https://img.shields.io/badge/security-advisories-3b82f6?logo=packagist&logoColor=white)](https://packagist.org/packages/cloudcastle/clock/advisories) +[![PHPStan](https://img.shields.io/badge/PHPStan-max-brightgreen?logo=php&logoColor=white)](https://phpstan.org/) [![Code Style](https://img.shields.io/badge/code%20style-PSR--12-blue)](https://www.php-fig.org/psr/psr-12/) -[![Coverage](https://img.shields.io/codecov/c/github/cloudcastle-apps/clock?label=coverage&color=success)](https://codecov.io/gh/cloudcastle-apps/clock) + +[![Packagist Stars](https://img.shields.io/packagist/stars/cloudcastle/clock?logo=packagist&logoColor=white&label=stars&color=eab308)](https://packagist.org/packages/cloudcastle/clock) +[![GitHub Stars](https://img.shields.io/github/stars/cloudcastle-apps/clock?logo=github&label=stars&color=eab308)](https://github.com/cloudcastle-apps/clock/stargazers) +[![GitHub Forks](https://img.shields.io/github/forks/cloudcastle-apps/clock?logo=github&label=forks)](https://github.com/cloudcastle-apps/clock/network/members) +[![GitHub Issues](https://img.shields.io/github/issues/cloudcastle-apps/clock?logo=github&label=issues)](https://github.com/cloudcastle-apps/clock/issues) +[![Dependents](https://img.shields.io/badge/dependents-Packagist-3b82f6?logo=packagist&logoColor=white)](https://packagist.org/packages/cloudcastle/clock/dependents?order_by=downloads) +[![Suggesters](https://img.shields.io/badge/suggesters-Packagist-3b82f6?logo=packagist&logoColor=white)](https://packagist.org/packages/cloudcastle/clock/suggesters) [![All Contributors](https://img.shields.io/github/all-contributors/cloudcastle-apps/clock?color=orange)](#contributors) -[![License](https://img.shields.io/github/license/cloudcastle-apps/clock?color=22c55e)](LICENSE) + > Часы для PHP 8.1+ поверх PSR-20: системные, замороженные, тестовые с виртуальным сном, > монотонные, масштабируемые — плюс декораторы смещения и усечения, глобальный слот, diff --git a/wiki/_Footer.md b/wiki/_Footer.md index d317e5b..f5168d7 100644 --- a/wiki/_Footer.md +++ b/wiki/_Footer.md @@ -2,6 +2,11 @@ **[CloudCastle Clock](Home)** · [![Актуальная версия](https://img.shields.io/packagist/v/cloudcastle/clock?label=&color=3b82f6)](https://packagist.org/packages/cloudcastle/clock) · PHP 8.1+ +[![Downloads](https://img.shields.io/packagist/dt/cloudcastle/clock?logo=packagist&logoColor=white&label=downloads&color=f97316)](https://packagist.org/packages/cloudcastle/clock/stats) +[![Packagist Stars](https://img.shields.io/packagist/stars/cloudcastle/clock?logo=packagist&logoColor=white&label=stars&color=eab308)](https://packagist.org/packages/cloudcastle/clock) +[![GitHub Stars](https://img.shields.io/github/stars/cloudcastle-apps/clock?logo=github&label=stars&color=eab308)](https://github.com/cloudcastle-apps/clock/stargazers) +[![GitHub Issues](https://img.shields.io/github/issues/cloudcastle-apps/clock?logo=github&label=issues)](https://github.com/cloudcastle-apps/clock/issues) + [GitHub](https://github.com/cloudcastle-apps/clock) · [Packagist](https://packagist.org/packages/cloudcastle/clock) · [Releases](https://github.com/cloudcastle-apps/clock/releases) · [Discussions](https://github.com/cloudcastle-apps/clock/discussions) · [Issues](https://github.com/cloudcastle-apps/clock/issues) [Email](mailto:alex-4-17@yandex.ru) · [Telegram](https://t.me/CloudCastle85) · [VK](https://vk.com/leha_zorin) · [Сетка](https://set.ki/LdYRz76) · [💜 Поддержать проект](https://github.com/cloudcastle-apps/clock/blob/main/DONATE.md) From 2543437bd3a248ba0fac9672d673136d353104e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=97=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD?= Date: Wed, 15 Jul 2026 12:03:06 +0400 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=D1=83=D0=B1=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B4=D1=83=D0=B1=D0=BB=D0=B8=D1=80=D1=83=D1=8E=D1=89?= =?UTF-8?q?=D0=B8=D0=B5=20.md-=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D1=8B?= =?UTF-8?q?=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Оставлены только структурированные .yml-формы (bug_report.yml, feature_request.yml, question.yml, documentation.yml) — как в остальных пакетах; дефолтные .md от gh repo create дублировали их и нарушали markdownlint. --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ----------------------- .github/ISSUE_TEMPLATE/custom.md | 10 ------ .github/ISSUE_TEMPLATE/feature_request.md | 20 ------------ 3 files changed, 68 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md delete mode 100644 .github/ISSUE_TEMPLATE/custom.md delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index dd84ea7..0000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Desktop (please complete the following information):** - - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] - -**Smartphone (please complete the following information):** - - Device: [e.g. iPhone6] - - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md deleted file mode 100644 index 48d5f81..0000000 --- a/.github/ISSUE_TEMPLATE/custom.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -name: Custom issue template -about: Describe this issue template's purpose here. -title: '' -labels: '' -assignees: '' - ---- - - diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100644 index bbcbbe7..0000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: '' -labels: '' -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. From 1f260afff43824a37bcdf05fcdf933bdeee4f37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9=20=D0=97=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=BD?= Date: Wed, 15 Jul 2026 12:05:43 +0400 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20=D1=83=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D0=BD=D1=8C=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2=20=D0=B7=D0=B0=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B2=20Comparison=20(markdownlint=20MD001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki/Comparison.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/Comparison.md b/wiki/Comparison.md index 16b6861..d24c7b1 100644 --- a/wiki/Comparison.md +++ b/wiki/Comparison.md @@ -109,7 +109,7 @@ _Сгенерировано из `composer compare` (PHP 8.1.34). Правки ## Заключение -#### Плюсы cloudcastle/clock +### Плюсы cloudcastle/clock - Самый широкий функционал среди PSR-20-пакетов: единственный с масштабируемым временем, смещением, зонозависимым усечением, `sleepUntil()` и секундомером. @@ -122,12 +122,12 @@ _Сгенерировано из `composer compare` (PHP 8.1.34). Правки времени); на идентичных PSR-20-операциях — группа лидеров (см. таблицу выше: на них никто не может оторваться, вся цена — внутри движка PHP). -#### Минусы cloudcastle/clock +### Минусы cloudcastle/clock - Молодой пакет: меньше продакшн-пробега, чем у symfony/clock или Carbon. - API шире, чем нужно для «просто now()» — для минимализма есть более компактные пакеты. -#### Когда какую библиотеку выбирать +### Когда какую библиотеку выбирать | Ситуация | Рекомендация | |---|---|