PHPackages                             iichn/prime - 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. iichn/prime

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

iichn/prime
===========

Prime number game

v1.1(3mo ago)00MITPHP

Since Mar 23Pushed 3mo agoCompare

[ Source](https://github.com/iichn/php-prime-game)[ Packagist](https://packagist.org/packages/iichn/prime)[ RSS](/packages/iichn-prime/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

Prime Number Game
=================

[](#prime-number-game)

Консольная игра на PHP. Программа выдаёт случайное целое число от 2 до 100, игрок должен определить, является ли оно простым.

Правила
-------

[](#правила)

- Введи `yes` если число простое, `no` если нет
- При правильном ответе выводится `Correct!`
- При неправильном — `Wrong!` и список нетривиальных делителей числа

Установка и запуск
------------------

[](#установка-и-запуск)

```
composer install
php bin/prime
```

Зависимости
-----------

[](#зависимости)

- [wp-cli/php-cli-tools](https://github.com/wp-cli/php-cli-tools) — утилиты для консольного ввода/вывода

### Ссылка на Packagist.org

[](#ссылка-на-packagistorg)

-

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance82

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Every ~0 days

Total

3

Last Release

91d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e814648562827f35da744644797d61c186d5146f2279f75929f419eeebb0117?d=identicon)[iichn](/maintainers/iichn)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/iichn-prime/health.svg)

```
[![Health](https://phpackages.com/badges/iichn-prime/health.svg)](https://phpackages.com/packages/iichn-prime)
```

###  Alternatives

[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43240.8k4](/packages/niels-de-blaauw-php-doc-check)[ecoapm/libyear

A simple measure of software dependency freshness

28305.1k](/packages/ecoapm-libyear)

PHPackages © 2026

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