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. 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/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()» — для минимализма есть более компактные пакеты. -#### Когда какую библиотеку выбирать +### Когда какую библиотеку выбирать | Ситуация | Рекомендация | |---|---| 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)