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

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

dimakelmyashkin/prime
=====================

v1.1(4mo ago)00PHP

Since Feb 23Pushed 4mo agoCompare

[ Source](https://github.com/DimaKelmyashkin/prime)[ Packagist](https://packagist.org/packages/dimakelmyashkin/prime)[ RSS](/packages/dimakelmyashkin-prime/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Optimus Prime Game
==================

[](#optimus-prime-game)

Консольная PHP игра "Простое ли число?". Проект разработан в учебных целях.

Описание
--------

[](#описание)

Игроку показывается случайное число. Задача игрока — определить, является ли это число простым (делится только на 1 и на само себя). Если ответ неверный, игра покажет нетривиальные делители числа. Ведется история игр с сохранением результатов в локальную базу данных SQLite.

Требования
----------

[](#требования)

- PHP &gt;= 8.4.12 Мб и на пажилых версиях стартанет хз
- Composer
- SQLite3

Установка
---------

[](#установка)

Вы можете установить игру глобально с помощью Composer:

```
composer global require dimakelmyashkin/prime -W
```

И запуск

```
prime
```

Или локально

```
composer require dimakelmyashkin/prime
```

И запуск

```
./vendor/bin/prime
```

Или локально 2

```
composer create-project dimakelmyashkin/prime
```

И запуск

```
php ./bin/prime
```

Ссылка на пакет

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance76

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity34

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

Unknown

Total

1

Last Release

131d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/55077cb6c0710d40319c12ee34f63e3925fd42ab9b386b4cc08bca7aa1673649?d=identicon)[DimaKelmyashkin](/maintainers/DimaKelmyashkin)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[ecoapm/libyear

A simple measure of software dependency freshness

28306.2k](/packages/ecoapm-libyear)[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43243.4k4](/packages/niels-de-blaauw-php-doc-check)

PHPackages © 2026

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