PHPackages                             alexey/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. [CLI &amp; Console](/categories/cli)
4. /
5. alexey/php-project-lvl1

ActiveProject[CLI &amp; Console](/categories/cli)

alexey/php-project-lvl1
=======================

console games

017PHP

Since Oct 20Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![codeclimate](https://camo.githubusercontent.com/8091fb88c3451ea14e8bcd58b42617d0910f1e23f6a0feb914bbdd4881d987ad/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30396565356262313634343034343164313430652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/AlexeyDanilov/php-project-lvl1/maintainability)

[![Build Status](https://camo.githubusercontent.com/f258df0754b336d8ba257cb1df138f38922f02ffb4bf4abe458b587c9e936c5e/68747470733a2f2f7472617669732d63692e6f72672f416c6578657944616e696c6f762f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/AlexeyDanilov/php-project-lvl1)

Welcome to Brain\_games
=======================

[](#welcome-to-brain_games)

This's serie just logic-games.

- **brain-calc** - In this game you have to perform basic mathematical operations - addition, subtraction and multiplication.
- **brain-even** - In this game you must determine - whether the number is even or not. If the number is even, you must answer “yes”, if not even, then “no”.
- **brain-gcd** - In this game you will be presented with two numbers. You need to analyze them and find the largest number by which they are divided without a remainder.
- **brain-prime** - In this game you must determine whether the number shown is prime. If it’s purely simple, you must answer “yes”, if not simple, then “no”. A prime number is a number that is divisible without remainder only by itself and by one.
- **brain-progression** - In this game you will be presented with a series of numbers. You must find a pattern between them and enter the missing number.

### How to install games?

[](#how-to-install-games)

Write in your Terminal:

```
composer global require alexey/php-project-lvl1:"@dev"

```

### Start of a game

[](#start-of-a-game)

Write in your Terminal:

- **brain-calc**

```
brain-calc

```

- **brain-even**

```
brain-even

```

- **brain-gcd**

```
brain-gcd

```

- **brain-prime**

```
brain-prime

```

- **brain-progression**

```
brain-progression

```

### See!

[](#see)

[Install project + start BRAIN-GCD](https://asciinema.org/a/hZk9AOhbZbR4pbnKmoOMUwQfb)

[Install project + start BRAIN-PROGRESSION](https://asciinema.org/a/gi7UsgGDfEoxFWfvjo0QP7cQQ)

[Install project + start BRAIN-PRIME](https://asciinema.org/a/2jryGyt6Vk0tF4fJP6yLT0kih)

[Install project + start BRAIN-CALC](https://asciinema.org/a/wh8zYgEGa594kK1lzJ9EUjedB)

[Install project + start BRAIN-EVEN](https://asciinema.org/a/GItaPVWAiEKs3x8s2493LishQ)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/62d0889e8986bcdbec6dbfa8d6ffc339c009a47fd3f978cf8572e4a7bdd10568?d=identicon)[AlexeyDanilov](/maintainers/AlexeyDanilov)

---

Top Contributors

[![AlexeyDanilov](https://avatars.githubusercontent.com/u/29874028?v=4)](https://github.com/AlexeyDanilov "AlexeyDanilov (40 commits)")

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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