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

ActiveProject

alex-rysaev/php-project-lvl1
============================

Hexlet project PHP Level 1. Brain Games.

0.21.9(5y ago)028MITPHP

Since Mar 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alex-rysaev/php-project-lvl1)[ Packagist](https://packagist.org/packages/alex-rysaev/php-project-lvl1)[ RSS](/packages/alex-rysaev-php-project-lvl1/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (2)Versions (34)Used By (0)

PHP Project Level 1
===================

[](#php-project-level-1)

[![Maintainability](https://camo.githubusercontent.com/425f90bdd3351265a7dda6b104456a305aa12a812113a11437f6d16b3916cfc3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39343637326661663664303632353934343163662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/alex-rysaev/php-project-lvl1/maintainability)[![PHP CI](https://github.com/alex-rysaev/php-project-lvl1/workflows/PHP%20CI/badge.svg)](https://github.com/alex-rysaev/php-project-lvl1/workflows/PHP%20CI/badge.svg)

Brain Games
-----------

[](#brain-games)

These are small games for brain training. Five games are currently available:

- Brain Calc — calculating the result of an expression
- Brain Even — determining whether a number is even
- Brain GCD — the calculation of the greatest common divisor
- Brain Prime — determining whether a number is prime
- Brain Progression — finding the missing progression element

You need to solve the problem three times in a row — then you win.

Setup
-----

[](#setup)

To setting up Brain Games you must have Composer installed. Also you may need to add Composer's `vendor/bin` folder to your `$PATH`.

Installing Brain Games:

```
user@ws:~$ composer global require alex-rysaev/php-project-lvl1
```

[![asciicast](https://camo.githubusercontent.com/c50e1ccdf7ee33daf69b43bb37cc7a3cb7d30bd284e0d9a2522937c3fd0e6f60/68747470733a2f2f61736369696e656d612e6f72672f612f4236746c524e44555536335979576c7a456e785779564c6c6b2e737667)](https://asciinema.org/a/B6tlRNDUU63YyWlzEnxWyVLlk)

Running Brain Calc
------------------

[](#running-brain-calc)

```
user@ws:~$ brain-calc
```

[![asciicast](https://camo.githubusercontent.com/53e6f147790e42987c1cf2e372092d3b5ef7295ca9da661d0de9b8b8ff79982e/68747470733a2f2f61736369696e656d612e6f72672f612f7162414565304763527a534e456d5a58425177597265496a632e737667)](https://asciinema.org/a/qbAEe0GcRzSNEmZXBQwYreIjc)

Running Brain Even
------------------

[](#running-brain-even)

```
user@ws:~$ brain-even
```

[![asciicast](https://camo.githubusercontent.com/decbb94d0a149a9ec52e796158f06ae67376db963996d0df6490be17a9bc8fed/68747470733a2f2f61736369696e656d612e6f72672f612f4b6b7549396f31523461564e6c32354e564575744f4f4d496a2e737667)](https://asciinema.org/a/KkuI9o1R4aVNl25NVEutOOMIj)

Running Brain GCD
-----------------

[](#running-brain-gcd)

```
user@ws:~$ brain-gcd
```

[![asciicast](https://camo.githubusercontent.com/e20cacb37d500e374e33b7b932aedc3e68c3ee337289a9d3fe74011996b4dee6/68747470733a2f2f61736369696e656d612e6f72672f612f6650396f354e624574774c494a78464372715132316f676b592e737667)](https://asciinema.org/a/fP9o5NbEtwLIJxFCrqQ21ogkY)

Running Brain Prime
-------------------

[](#running-brain-prime)

```
user@ws:~$ brain-prime
```

[![asciicast](https://camo.githubusercontent.com/8a5db6619d3f8f3394eed661316e39ef3b3f24cb27bd86c403f3c5c398ba6f1c/68747470733a2f2f61736369696e656d612e6f72672f612f6b6c54617154394a46656a75765a5763583132464a695875462e737667)](https://asciinema.org/a/klTaqT9JFejuvZWcX12FJiXuF)

Running Brain Progression
-------------------------

[](#running-brain-progression)

```
user@ws:~$ brain-progression
```

[![asciicast](https://camo.githubusercontent.com/01b80b4f0f41eb6ab57baa3de4315b4a6327d09c63cd7b723dfe78179b0a79ab/68747470733a2f2f61736369696e656d612e6f72672f612f31664945373550694b656d4132656c375542734d3757566d6e2e737667)](https://asciinema.org/a/1fIE75PiKemA2el7UBsM7WVmn)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Total

33

Last Release

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98b8732df6e6fd6826b6f459afca8915a5c26b4dd4825da9f058f67bb2d735a9?d=identicon)[alex-rysaev](/maintainers/alex-rysaev)

---

Top Contributors

[![alex-rysaev](https://avatars.githubusercontent.com/u/16556138?v=4)](https://github.com/alex-rysaev "alex-rysaev (71 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M318](/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)
