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

ActiveProject

pqr/php-project-lvl1
====================

Hexlet learning project 1

05PHP

Since Jul 13Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/53e0df18f4193ccf3236807801dbcb1ec241626bd391a3db868f806e890b37c2/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37363866653664396364393234336230333432392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/pqr/php-project-lvl1/maintainability)

[![](https://github.com/pqr/php-project-lvl1/workflows/lint/badge.svg)](https://github.com/pqr/php-project-lvl1/actions)

Brain Games
===========

[](#brain-games)

Educational project from Hexlet.io

This project consists of 5 games:

- Calculator game
- Even/Odd game
- The Greatest Common Divisor game
- Is Prime game
- Progression game

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

[](#installation)

```
composer global require pqr/php-project-lvl1

```

Make sure to place Composer's system-wide vendor bin directory in your `$PATH`.

- **macOS**: $HOME/.composer/vendor/bin
- **Windows**: %USERPROFILE%\\AppData\\Roaming\\Composer\\vendor\\bin
- **GNU / Linux Distributions**: $HOME/.config/composer/vendor/bin or $HOME/.composer/vendor/bin

You could also find the composer's global installation path by running composer global about and looking up from the first line.

Calcualtor game
---------------

[](#calcualtor-game)

```
brain-calc

```

[![asciicast](https://camo.githubusercontent.com/ff808a051f4e52b4ca44101bc1478002dc82030850a9ac52ee0c8879f223fb85/68747470733a2f2f61736369696e656d612e6f72672f612f38515745696970554a4330316e4979326650526171485459492e737667)](https://asciinema.org/a/8QWEiipUJC01nIy2fPRaqHTYI)

Even/Odd game
-------------

[](#evenodd-game)

```
brain-even

```

[![asciicast](https://camo.githubusercontent.com/ad35aa368e3a36ef59ecaa7a012b74741373decde4e127784fe5714110a50716/68747470733a2f2f61736369696e656d612e6f72672f612f476a354c4b586c51435a5a3847354b304c5a70733446756f762e737667)](https://asciinema.org/a/Gj5LKXlQCZZ8G5K0LZps4Fuov)

The Greatest Common Divisor game
--------------------------------

[](#the-greatest-common-divisor-game)

```
brain-gcd

```

[![asciicast](https://camo.githubusercontent.com/6cfd183139578417630ccc58126fa824d01c75eb6d7d72165bac60b5534dc7f1/68747470733a2f2f61736369696e656d612e6f72672f612f4532394e646a754c497773476a6931666650506f45644432642e737667)](https://asciinema.org/a/E29NdjuLIwsGji1ffPPoEdD2d)

Is Prime game
-------------

[](#is-prime-game)

```
brain-prime

```

[![asciicast](https://camo.githubusercontent.com/421c6225f44e95fdda1a43e0fdab5aacccb3e55c97edba9ce1a972dc4ae2dd05/68747470733a2f2f61736369696e656d612e6f72672f612f41695372783376555465417a48424d52476e39456841467a4a2e737667)](https://asciinema.org/a/AiSrx3vUTeAzHBMRGn9EhAFzJ)

Progression game
----------------

[](#progression-game)

```
brain-progression

```

[![asciicast](https://camo.githubusercontent.com/ee7f508827568f56fbf4dee57a3a548885c934b5efa657779f9e0bae48ceb0b2/68747470733a2f2f61736369696e656d612e6f72672f612f31316f61714a6d384a5671634777446168535a546a715839302e737667)](https://asciinema.org/a/11oaqJm8JVqcGwDahSZTjqX90)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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/45a4abcc5e944e933955eb824075ac4da58409c132b500579307181a76676cf3?d=identicon)[pqr](/maintainers/pqr)

---

Top Contributors

[![pqr](https://avatars.githubusercontent.com/u/451007?v=4)](https://github.com/pqr "pqr (21 commits)")

### Embed Badge

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

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

PHPackages © 2026

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