PHPackages                             k3kan/test-package - 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. k3kan/test-package

ActiveLibrary

k3kan/test-package
==================

First project

v1.23.0(5y ago)030PHPPHP ^7.0

Since Jun 23Pushed 5y ago1 watchersCompare

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

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

[![check-linter](https://github.com/k3kan/php-project-lvl1/workflows/check-linter/badge.svg)](https://github.com/k3kan/php-project-lvl1/workflows/check-linter/badge.svg)

[![](https://camo.githubusercontent.com/cc753210aae063e1ca5b096fdffb4b25a9027d4a0162b9fd7ba877fd4fccfd70/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35623063323134386564353330616262396432662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/k3kan/php-project-lvl1/maintainability)

Добро пожаловать!!
==================

[](#добро-пожаловать)

Проект представляет собой пять мини-игр, которые пользователь может выбрать. Чтобы успешно пройти игру, требуется верно ответить на 3 вопроса. Список мини-игр:

- brain-calc - необходимо верно вычислить выражение;
- brain-even - необходимо ответить "да", если число четно и "нет", если нечетное;
- brain-progression - необходимо написать число, которое пропущено в последовательности;
- brain-gcd - необходимо найти общий делитель двух чисел, представленных на экране;
- brain-prime - необходимо ответить "да", если число простое(т.е делится только на само себя и единицу) и "нет", если составное(т.е имеет делители помимо 1 и своего числа).

Для установки проекта требуется выполнить следующие команды:

- composer global require k3kan/test-package
- composer global config bin-dir --absolute (смотрим пусть установки composer)
- echo $PATH (есть ли путь до composer, если нет, то выполняем команду ниже)
- PATH=$PATH:/home/user/.config/composer/vendor/bin (указывайте **Ваш** путь установки composer!)
    - export PATH
- brain-calc (запускаем игру)

Install brain games

[![](https://camo.githubusercontent.com/622f66ad95585e2cc339053708c033dfbf3224a9a7ce6291a978cb7898b4348e/68747470733a2f2f61736369696e656d612e6f72672f612f3741387577796b5736657a4452546a444266654f50616a716b2e737667)](https://asciinema.org/a/7A8uwykW6ezDRTjDBfeOPajqk)

Brain even (parity check correct)

[![](https://camo.githubusercontent.com/051bf1a9325512b8b9778379b7104cc82a9701625b58d07bb558246119078ccd/68747470733a2f2f61736369696e656d612e6f72672f612f3659316c527338384b746d35617a7472795a725735683778782e737667)](https://asciinema.org/a/6Y1lRs88Ktm5aztryZrW5h7xx)

Brain even (parity check incorrect)

[![](https://camo.githubusercontent.com/f2456924dfb1db4509a1aec0ae4120172ecc147b2417285b7e48cfb1a237b3a2/68747470733a2f2f61736369696e656d612e6f72672f612f744f764858353343664c496c34576c726547554b45584d6d592e737667)](https://asciinema.org/a/tOvHX53CfLIl4WlreGUKEXMmY)

Brain-calc (Correct answers)

[![](https://camo.githubusercontent.com/f2dce3a24192734a57a6b2e7a07fabf50cd5675bdafa0926b4b20f38ef41eebb/68747470733a2f2f61736369696e656d612e6f72672f612f456d386b465537706a38333253586f654844614576736c51692e737667)](https://asciinema.org/a/Em8kFU7pj832SXoeHDaEvslQi)

Brain-calc (Incorrect answers)

[![](https://camo.githubusercontent.com/767240a4f5dd6031af70b6216a013d4cfa7e9039f87f6390f6ca8b48f8fa040f/68747470733a2f2f61736369696e656d612e6f72672f612f3071744236325367566e59433135675746636e754e476438472e737667)](https://asciinema.org/a/0qtB62SgVnYC15gWFcnuNGd8G)

Brain-prime. Answer "yes" if given number is prime. Otherwise answer "no". Correct answers

[![](https://camo.githubusercontent.com/eb882f3a512a0917ae7674d0f1375860254579f373eb0c55ae7ed31ea0e1d8cf/68747470733a2f2f61736369696e656d612e6f72672f612f4a38303733324475386f57577430585a644e6e717674526d652e737667)](https://asciinema.org/a/J80732Du8oWWt0XZdNnqvtRme)

Incorrect answers

[![](https://camo.githubusercontent.com/adbf94ac78a7a5cfa5b9380796e9d1f3414825588670dc4ecb077826875a71d1/68747470733a2f2f61736369696e656d612e6f72672f612f494f494e6d4a4c573641414e454c424f765a777330764646512e737667)](https://asciinema.org/a/IOINmJLW6AANELBOvZws0vFFQ)

Brain-gcd. Find the greatest common divisor of given numbers. Correct answers.

[![](https://camo.githubusercontent.com/beddb492d07c01880d68305313929395cf73d115902957548c452c80072e563c/68747470733a2f2f61736369696e656d612e6f72672f612f694f51505a6f766e68777a6277716f6c5036634d7972794e632e737667)](https://asciinema.org/a/iOQPZovnhwzbwqolP6cMyryNc)

Incorrect answers

[![](https://camo.githubusercontent.com/f8f47a0b241a2f8377741f19558563aa2b0e88f8ebb31384e73734513e2e017c/68747470733a2f2f61736369696e656d612e6f72672f612f34726e44445937464c6341645656724f5144576158417966312e737667)](https://asciinema.org/a/4rnDDY7FLcAdVVrOQDWaXAyf1)

Brain-progression. What number is missing in the progression? Correct answers.

[![](https://camo.githubusercontent.com/fd7de9b28c40340ef661d4901ad9991533063a74c24fb79defacab8d5a4937cc/68747470733a2f2f61736369696e656d612e6f72672f612f487a3635467079344c555159576d69564d6b72314a713064732e737667)](https://asciinema.org/a/Hz65Fpy4LUQYWmiVMkr1Jq0ds)

Incorrect answers

[![](https://camo.githubusercontent.com/b3f3b9270f882eef1daa4ad99f7cb960d9bb64532c79888ab3a26ef99cc7cc3d/68747470733a2f2f61736369696e656d612e6f72672f612f735a4277343146766a4266716b6964767854706e4f637550522e737667)](https://asciinema.org/a/sZBw41FvjBfqkidvxTpnOcuPR)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~1 days

Total

24

Last Release

2122d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/65311848?v=4)[k3kan](/maintainers/k3kan)[@k3kan](https://github.com/k3kan)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/k3kan-test-package/health.svg)

```
[![Health](https://phpackages.com/badges/k3kan-test-package/health.svg)](https://phpackages.com/packages/k3kan-test-package)
```

###  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)
