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

ActiveProject

vitaliy/php-project-lvl1
========================

brain-games php-package

1.1(5y ago)014MITPHP

Since Apr 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kudrvet/php-project-lvl1)[ Packagist](https://packagist.org/packages/vitaliy/php-project-lvl1)[ RSS](/packages/vitaliy-php-project-lvl1/feed)WikiDiscussions master Synced today

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

php-project-lvl1
================

[](#php-project-lvl1)

[![](https://camo.githubusercontent.com/8a2ebb864ccd161492d3ee21309563bd1682256951fd96da023e13cba1f92a9c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f61616262376533386361303136376632663536332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kudrvet/php-project-lvl1/maintainability) [![Linter Check](https://github.com/kudrvet/php-project-lvl1/workflows/Linter%20Check/badge.svg?event=push)](https://github.com/kudrvet/php-project-lvl1/workflows/Linter%20Check/badge.svg?event=push)

Setup
-----

[](#setup)

via Composer:

```
 composer global require vitaliy/php-project-lvl1:1.1
```

[![asciicast](https://camo.githubusercontent.com/089becec167e5036ca2769a39095756b3d97a08de164ec452d3bac4f8e376c19/68747470733a2f2f61736369696e656d612e6f72672f612f48647631316e47706967636f7339764769645133714a576e6a2e737667)](https://asciinema.org/a/Hdv11nGpigcos9vGidQ3qJWnj)

Rules
-----

[](#rules)

The BrainGame is cli game. It set consist of five games:

- brain-calc
- brain-even
- brain-prime
- brain-progression
- brain-gcd

Answer correctly 3 times in a row - and you a WINNER!.

Usage
-----

[](#usage)

To start game run it from terminal. For example ,

```
brain-calc

```

Brain Even Game
---------------

[](#brain-even-game)

### Win Example

[](#win-example)

[![asciicast](https://camo.githubusercontent.com/abab9da527b977dcdc6afa9065f38a2e9d5f2b22633bbd41b75262c3ecc46e7e/68747470733a2f2f61736369696e656d612e6f72672f612f303444515732486d75754a384e72386e455a776a736b36716a2e737667)](https://asciinema.org/a/04DQW2HmuuJ8Nr8nEZwjsk6qj)

### Lose example

[](#lose-example)

[![asciicast](https://camo.githubusercontent.com/2bca6a5da010eae99c2cce920252350b8556cadf762b7fb33939949497e0fdcd/68747470733a2f2f61736369696e656d612e6f72672f612f36366762664233774530736e6642307a715849696d616155722e737667)](https://asciinema.org/a/66gbfB3wE0snfB0zqXIimaaUr)

Brain Calc Game
---------------

[](#brain-calc-game)

### Example

[](#example)

[![asciicast](https://camo.githubusercontent.com/44578e0a89cd096200307c00da2d16ea813dd35d5c3fbb977e82386be15a7277/68747470733a2f2f61736369696e656d612e6f72672f612f5a4e6c713451574b716d4b707a6731354b3239434b546f4d572e737667)](https://asciinema.org/a/ZNlq4QWKqmKpzg15K29CKToMW)

Brain Gcd Game
--------------

[](#brain-gcd-game)

### Example

[](#example-1)

[![asciicast](https://camo.githubusercontent.com/f9c682f7b9da30ab71188059bd47d6e3d6fbdcd35a672344147faa08342522bf/68747470733a2f2f61736369696e656d612e6f72672f612f38436e7073355530497055557a6c4e4675704a73724a4972372e737667)](https://asciinema.org/a/8Cnps5U0IpUUzlNFupJsrJIr7)

Brain Progression Game
----------------------

[](#brain-progression-game)

### Example

[](#example-2)

[![asciicast](https://camo.githubusercontent.com/cb6a74f5cdb47796e6be71beb9ca51c0ececb780fd5b1605bc68df2cc659075f/68747470733a2f2f61736369696e656d612e6f72672f612f6569526b6e716851486b6167326b4f616834673651547439362e737667)](https://asciinema.org/a/eiRknqhQHkag2kOah4g6QTt96)

Brain Prime Game
----------------

[](#brain-prime-game)

### Example

[](#example-3)

[![asciicast](https://camo.githubusercontent.com/98b85e41947e7b28f79f293ea409e2343de3c30bc6731013a8e3753dc4f98d25/68747470733a2f2f61736369696e656d612e6f72672f612f51653143325a435152383474746a36647342576377314145622e737667)](https://asciinema.org/a/Qe1C2ZCQR84ttj6dsBWcw1AEb)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

Total

8

Last Release

2177d ago

Major Versions

0.4 → 1.12020-05-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25493836?v=4)[Vitaliy Kudryavtsev](/maintainers/kudrvet)[@kudrvet](https://github.com/kudrvet)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/vitaliy-php-project-lvl1/health.svg)](https://phpackages.com/packages/vitaliy-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)
