PHPackages                             dinikoff/php-project-lvl1 - 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. dinikoff/php-project-lvl1

ActiveProject

dinikoff/php-project-lvl1
=========================

training project on php

0.4.0(5y ago)025MITPHP

Since Aug 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dinikoff/php-project-lvl1)[ Packagist](https://packagist.org/packages/dinikoff/php-project-lvl1)[ RSS](/packages/dinikoff-php-project-lvl1/feed)WikiDiscussions master Synced 5d ago

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

[![Maintainability](https://camo.githubusercontent.com/3d8d77f3d3a07ac1ee75316382fbf5c76cc7e48b7c04c4ac19813524a95b9524/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32306239633733373239343338326634393063652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/dinikoff/php-project-lvl1/maintainability)[![GitHub actions badge](https://github.com/dinikoff/php-project-lvl1/workflows/PHP%20CI/badge.svg)](https://github.com/dinikoff/php-project-lvl1/actions)

Описание
========

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

«Игры разума» — набор из пяти консольных игр, построенных по принципу популярных мобильных приложений для прокачки мозга. Каждая игра задает вопросы, на которые нужно дать правильные ответы. После трех правильных ответов считается, что игра пройдена. Неправильные ответы завершают игру и предлагают пройти ее заново. Игры:

- Калькулятор. Арифметические выражения, которые необходимо вычислить.
- Прогрессия. Поиск пропущенных чисел в последовательности чисел.
- Определение четного числа.
- Определение наибольшего общего делителя.
- Определение простого числа.

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

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

Введите в термиале

```
composer global require dinikoff/php-project-lvl1
```

[![asciicast](https://camo.githubusercontent.com/e29321a92537d0d0d3325bee58f87f3bc0c736a509cefcf04c5f2a9782e2a9cf/68747470733a2f2f61736369696e656d612e6f72672f612f46385a306f6962366e6d6144674876323161496d57425a63432e737667)](https://asciinema.org/a/F8Z0oib6nmaDgHv21aImWBZcC)

Геймплей
========

[](#геймплей)

Проверка на чётность
--------------------

[](#проверка-на-чётность)

[![asciicast](https://camo.githubusercontent.com/8ac29ddd794836f1abb4912772789be3a21f7a68595c9791581011fa6e22a358/68747470733a2f2f61736369696e656d612e6f72672f612f493159613276625066736a4e5574694f31486a5357777964682e737667)](https://asciinema.org/a/I1Ya2vbPfsjNUtiO1HjSWwydh)

[![asciicast](https://camo.githubusercontent.com/8ac29ddd794836f1abb4912772789be3a21f7a68595c9791581011fa6e22a358/68747470733a2f2f61736369696e656d612e6f72672f612f493159613276625066736a4e5574694f31486a5357777964682e737667)](https://asciinema.org/a/I1Ya2vbPfsjNUtiO1HjSWwydh)

Калькулятор
-----------

[](#калькулятор)

[![asciicast](https://camo.githubusercontent.com/8ac29ddd794836f1abb4912772789be3a21f7a68595c9791581011fa6e22a358/68747470733a2f2f61736369696e656d612e6f72672f612f493159613276625066736a4e5574694f31486a5357777964682e737667)](https://asciinema.org/a/I1Ya2vbPfsjNUtiO1HjSWwydh)

[![asciicast](https://camo.githubusercontent.com/8ac29ddd794836f1abb4912772789be3a21f7a68595c9791581011fa6e22a358/68747470733a2f2f61736369696e656d612e6f72672f612f493159613276625066736a4e5574694f31486a5357777964682e737667)](https://asciinema.org/a/I1Ya2vbPfsjNUtiO1HjSWwydh)

Нахождение НОД
--------------

[](#нахождение-нод)

[![asciicast](https://camo.githubusercontent.com/8ac29ddd794836f1abb4912772789be3a21f7a68595c9791581011fa6e22a358/68747470733a2f2f61736369696e656d612e6f72672f612f493159613276625066736a4e5574694f31486a5357777964682e737667)](https://asciinema.org/a/I1Ya2vbPfsjNUtiO1HjSWwydh)

[![asciicast](https://camo.githubusercontent.com/7ac8b621cbd51482d8420b762859f4e110a3be9ab7141c515ccb8bb1f623c672/68747470733a2f2f61736369696e656d612e6f72672f612f4f64586e62317443525648364a73703641397272506b5755642e737667)](https://asciinema.org/a/OdXnb1tCRVH6Jsp6A9rrPkWUd)

Арифметическая прогрессия
-------------------------

[](#арифметическая-прогрессия)

[![asciicast](https://camo.githubusercontent.com/18b48a50261572b167f56f35f8a20a1a0e705d082eef59e262e810eb94c6658d/68747470733a2f2f61736369696e656d612e6f72672f612f61454573316a324a3041626d464f43657377504870674564502e737667)](https://asciinema.org/a/aEEs1j2J0AbmFOCeswPHpgEdP)

[![asciicast](https://camo.githubusercontent.com/c81eca21971d0a276d5cd59f2152f4b7ddfebe92b6a695ad09161b479b3dda63/68747470733a2f2f61736369696e656d612e6f72672f612f337a49474c537857654f4777455441307050367453577046452e737667)](https://asciinema.org/a/3zIGLSxWeOGwETA0pP6tSWpFE)

Простое ли число?
-----------------

[](#простое-ли-число)

[![asciicast](https://camo.githubusercontent.com/33398a5e761647568f2d5129d055a545aa542c3b086bc4c34d2398d342aa9f3f/68747470733a2f2f61736369696e656d612e6f72672f612f614b4e6a6241566b69497a5544656d773345773551444a49462e737667)](https://asciinema.org/a/aKNjbAVkiIzUDemw3Ew5QDJIF)

[![asciicast](https://camo.githubusercontent.com/b7e96505a016349382984b0b845ca2a7a0c82d21124f87233aa077475b9d3c61/68747470733a2f2f61736369696e656d612e6f72672f612f345353474c3143697661305861466646474a4a3375445579712e737667)](https://asciinema.org/a/4SSGL1Civa0XaFfFGJJ3uDUyq)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Every ~0 days

Total

15

Last Release

2095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25bc8129796bd39d30eefe2390ab6ef2e976fd0e333359ea7dc3c8185596ca3e?d=identicon)[dinikoff](/maintainers/dinikoff)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dinikoff-php-project-lvl1/health.svg)

```
[![Health](https://phpackages.com/badges/dinikoff-php-project-lvl1/health.svg)](https://phpackages.com/packages/dinikoff-php-project-lvl1)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[indatus/dispatcher

Schedule your artisan commands within your application's source code

1.1k855.3k2](/packages/indatus-dispatcher)[clickalicious/phpmemadmin

phpMemAdmin - Bringing Memcached to the web

5076.0k](/packages/clickalicious-phpmemadmin)[jeremykendall/password-validator

Password Validator validates password\_hash generated passwords, rehashes passwords as necessary, and will upgrade legacy passwords.

14469.9k3](/packages/jeremykendall-password-validator)[qtism/qtism

OAT QTI-SDK

86193.8k7](/packages/qtism-qtism)[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

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

PHPackages © 2026

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