PHPackages                             alshad/brain-games - 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. alshad/brain-games

ActiveProject

alshad/brain-games
==================

First project of PHP programmer course

v0.7.4(6y ago)012MITPHP

Since Jan 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AlexeyShobanov/php-project-lvl1)[ Packagist](https://packagist.org/packages/alshad/brain-games)[ RSS](/packages/alshad-brain-games/feed)WikiDiscussions master Synced 1w ago

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

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

[](#php-project-lvl1)

[![Build Status](https://camo.githubusercontent.com/6df5a185cf668aa40dd47aed8bd8b4e3890c39b98973e010d2c92abbd8a73e41/68747470733a2f2f7472617669732d63692e6f72672f416c6578657953686f62616e6f762f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AlexeyShobanov/php-project-lvl1)[![Maintainability](https://camo.githubusercontent.com/9f2350ac71185334e02debf1ef995af59a98893573bbde557e3c5ef16cb772f3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62343062303738646238363132663461363438342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/AlexeyShobanov/php-project-lvl1/maintainability)

Install
-------

[](#install)

$ composer global require alshad/brain-games

Game
----

[](#game)

### "Parity check"

[](#parity-check)

##### Run game

[](#run-game)

`$ brain-even`
Winning game

Lost game

### "Simple calculations"

[](#simple-calculations)

##### Run game

[](#run-game-1)

`$ brain-calc`
Winning game

Lost game

### "The Greatest common factor (GCD)"

[](#the-greatest-common-factor-gcd)

##### Run game

[](#run-game-2)

`$ brain-gcd`
Winning game

Lost game

### "Arithmetic progression"

[](#arithmetic-progression)

##### Run game

[](#run-game-3)

`$brain-progression`
Winning game

Lost game

### "Prime Number"

[](#prime-number)

##### Run game

[](#run-game-4)

`$ brain-prime`
Winning game

Lost game

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

14

Last Release

2291d ago

### Community

Maintainers

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

---

Top Contributors

[![AlexeyShobanov](https://avatars.githubusercontent.com/u/11249101?v=4)](https://github.com/AlexeyShobanov "AlexeyShobanov (9 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/alshad-brain-games/health.svg)

```
[![Health](https://phpackages.com/badges/alshad-brain-games/health.svg)](https://phpackages.com/packages/alshad-brain-games)
```

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