PHPackages                             dekabruga/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dekabruga/php-project-lvl1

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

dekabruga/php-project-lvl1
==========================

Brain games

1.3.1(6y ago)014PHP

Since Dec 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rentery/php-project-lvl1)[ Packagist](https://packagist.org/packages/dekabruga/php-project-lvl1)[ RSS](/packages/dekabruga-php-project-lvl1/feed)WikiDiscussions master Synced 1mo ago

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

Brain games
===========

[](#brain-games)

Brain Games - collection of command line games

[![Maintainability](https://camo.githubusercontent.com/1783b1cc7f5ca5d45143aed380d3457d3c2e9503a79e58e9b58e08e6b6258805/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63303634353861616633323633633032623865352f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/rentery/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/d44921d2e6a83a6e1b712c55e1cd14c4087a983b8043af309c79f180f882499e/68747470733a2f2f7472617669732d63692e636f6d2f72656e746572792f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/rentery/php-project-lvl1)

How to install
--------------

[](#how-to-install)

Installation with composer

Enter the command `composer global require dekabruga/php-project-lvl1` to install Brain-games

[![asciicast](https://camo.githubusercontent.com/6c654f77df5a46ff868fcf74bc3913b87e31c08437901e74634ce917cb704140/68747470733a2f2f61736369696e656d612e6f72672f612f444d43475364734f4b3553797671455431696c4b3764684e622e737667)](https://asciinema.org/a/DMCGSdsOK5SyvqET1ilK7dhNb)

Brain-even
----------

[](#brain-even)

In the game you need to answer whether the number is even or not

Enter the command `brain-even` to start the game

[![asciicast](https://camo.githubusercontent.com/46af9148b0d6999ffb8975e3b1fb6550eadc24162b42aeadcddfd7bd0555ec56/68747470733a2f2f61736369696e656d612e6f72672f612f314e52515079675568355462586f62764948484853503152572e737667)](https://asciinema.org/a/1NRQPygUh5TbXobvIHHHSP1RW)

Brain-calc
----------

[](#brain-calc)

In this game you need to calculate result of expression

Enter the command `brain-calc` to start the game

[![asciicast](https://camo.githubusercontent.com/393ea2f4264dbe58a31fe5a539b3c2c4cd621d2533b54bcba4b83b48df964191/68747470733a2f2f61736369696e656d612e6f72672f612f56326b61796b473572655a754e62354d65323151484841514b2e737667)](https://asciinema.org/a/V2kaykG5reZuNb5Me21QHHAQK)

Brain-gcd
---------

[](#brain-gcd)

In this game you need to find greatest common divisor of two numbers

Enter the command `brain-gcd` to start the game

[![asciicast](https://camo.githubusercontent.com/8e95654764f9a9060c9a819f6f17593e0bba938ac66f569397447842d52487c5/68747470733a2f2f61736369696e656d612e6f72672f612f59764b48423659315631743967376e68414b523963314652312e737667)](https://asciinema.org/a/YvKHB6Y1V1t9g7nhAKR9c1FR1)

Brain-progression
-----------------

[](#brain-progression)

In this game you need to find the missing element of arithmetic progression

Enter the command `brain-progression` to start the game

[![asciicast](https://camo.githubusercontent.com/1f4adbb22530b296a90584cd54d5aeb2ea9da7cde72fa2978fa4686346a4a1de/68747470733a2f2f61736369696e656d612e6f72672f612f3457505039463747466b48643668354a674e326230596243662e737667)](https://asciinema.org/a/4WPP9F7GFkHd6h5JgN2b0YbCf)

Brain-prime
-----------

[](#brain-prime)

In the game you need to answer whether a prime number is or not

Enter the command `brain-prime` to start the game

[![asciicast](https://camo.githubusercontent.com/cd55206ff0f4a3957ac707377b592b779b65a8b47d039005ebf2cb0356b64d61/68747470733a2f2f61736369696e656d612e6f72672f612f684d477347637278487a4435746b7962776a655448723551452e737667)](https://asciinema.org/a/hMGsGcrxHzD5tkybwjeTHr5QE)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

13

Last Release

2312d ago

Major Versions

0.5.1 → 1.0.02020-01-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/ad4cb20e34814f247fb97b4dd77709bf14f8699c322fac2f68ab29a62de3e29d?d=identicon)[rentery](/maintainers/rentery)

---

Top Contributors

[![rentery](https://avatars.githubusercontent.com/u/47029758?v=4)](https://github.com/rentery "rentery (67 commits)")

---

Tags

gamesbrain

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

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

A simple measure of software dependency freshness

28302.5k](/packages/ecoapm-libyear)

PHPackages © 2026

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