PHPackages                             vm/1st-hexlet-project - 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. vm/1st-hexlet-project

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

vm/1st-hexlet-project
=====================

console brain games

v1.0.8(6y ago)117MITPHP

Since Nov 27Pushed 6y ago1 watchersCompare

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

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

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

[](#php-project-lvl1)

[![codeclimate_bage](https://camo.githubusercontent.com/0d1d8e920bb152e284319acc14101c3811ba4deac5cc7dce77c662fc720d4900/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65643930383238646563326330313733386162662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/VitaMinKin/php-project-lvl1/maintainability)

[![travis-ci_bage](https://camo.githubusercontent.com/cbc351ca16a185c1ea023ee58dd75b183a267b15b5e88c66d94986ee7c997906/68747470733a2f2f7472617669732d63692e6f72672f566974614d696e4b696e2f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/VitaMinKin/php-project-lvl1)

About
-----

[](#about)

The application is a set of console games of 5 pieces

1. "even / odd" game;
2. "Calculator" game;
3. "Largest common factor" game;
4. "Progression" game;
5. "Prime" game;

This is My first project in [Hexlet!](https://ru.hexlet.io/u/vitaminkin)

Installation
------------

[](#installation)

You need use Composer, you can install brain-games system-wide with the following command: `composer global require "vm/1st-hexlet-project"`

[![asciicast](https://camo.githubusercontent.com/baa33b32868263ba816e5ef739d2559cd3788ce5d63949caee4fa336b8f9b373/68747470733a2f2f61736369696e656d612e6f72672f612f556b686e793876465a4f3270315544764630656552313044652e737667)](https://asciinema.org/a/Ukhny8vFZO2p1UDvF0eeR10De)

To start the even / odd game, use the brain-even command: [![asciicast](https://camo.githubusercontent.com/b42e4e1848f5fbcaf6156e6e3dc03dd58032fdac3a04bceb10b6f73ad4a8158c/68747470733a2f2f61736369696e656d612e6f72672f612f505375594f70426b6539683869424b6e36756649547439754f2e737667)](https://asciinema.org/a/PSuYOpBke9h8iBKn6ufITt9uO)

To start the game "Calculator" use the brain-calc command: [![asciicast](https://camo.githubusercontent.com/59ba794f81c11502728fd7e65545a23d9244cda23635cb58d085cdc7b6fb2865/68747470733a2f2f61736369696e656d612e6f72672f612f5173777466424a32394c30586f5844495641435975643574422e737667)](https://asciinema.org/a/QswtfBJ29L0XoXDIVACYud5tB)

To starts the game "Largest common factor" use the brain-gcd command: [![asciicast](https://camo.githubusercontent.com/03a03a311f99ca2af1efdbb9679b348e0a9aa270f9a818406ba1b2593ecb4caf/68747470733a2f2f61736369696e656d612e6f72672f612f42594e49753856425944796e3964794441416b37586b42694c2e737667)](https://asciinema.org/a/BYNIu8VBYDyn9dyDAAk7XkBiL)

To starts the game "Progression" use the brain-progression command: [![asciicast](https://camo.githubusercontent.com/ef03f396f3662a1e38d22d044f1128a46be8b8d546e9c7cdc188b24609f18569/68747470733a2f2f61736369696e656d612e6f72672f612f6c7253714756346b7744465741345a5964687333716d6970492e737667)](https://asciinema.org/a/lrSqGV4kwDFWA4ZYdhs3qmipI)

To start the game "Prime" use the brain-prime command: [![asciicast](https://camo.githubusercontent.com/5949d0f28fd1e8e656d1721d32eac2287f2980157f18778bfb1b2bf8761157d9/68747470733a2f2f61736369696e656d612e6f72672f612f7747665a624347555247314f676b6d62663653304b53695a462e737667)](https://asciinema.org/a/wGfZbCGURG1Ogkmbf6S0KSiZF)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Total

8

Last Release

2314d ago

### Community

Maintainers

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

---

Top Contributors

[![VitaMinKin](https://avatars.githubusercontent.com/u/57290117?v=4)](https://github.com/VitaMinKin "VitaMinKin (46 commits)")

---

Tags

consoleprojectgamesbrainfirsthexlet

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/vm-1st-hexlet-project/health.svg)

```
[![Health](https://phpackages.com/badges/vm-1st-hexlet-project/health.svg)](https://phpackages.com/packages/vm-1st-hexlet-project)
```

PHPackages © 2026

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