PHPackages                             marina/hex1 - 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. marina/hex1

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

marina/hex1
===========

Hexlet project 1: Brain Games

v1.2.0(6y ago)021MITPHP

Since Apr 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/earthrobot/php-project-lvl1)[ Packagist](https://packagist.org/packages/marina/hex1)[ RSS](/packages/marina-hex1/feed)WikiDiscussions master Synced 6d ago

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

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

[](#php-project-lvl1)

[![Maintainability](https://camo.githubusercontent.com/5cd0fa3cf7fb6161851285f5b56eb29b89aca2fa438b07bc3bed5ca4b86e5ca6/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39666331643138343333313833626362626465362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/earthrobot/php-project-lvl1/maintainability)[![Github Actions Status](https://github.com/earthrobot/php-project-lvl1/workflows/hex1-workflow/badge.svg)](https://github.com/earthrobot/php-project-lvl1/actions)

[![asciicast](https://camo.githubusercontent.com/8edf6861dd49cf866c7d62994d326c5520f5909b5a47ac48d1b36b0c781af2db/68747470733a2f2f61736369696e656d612e6f72672f612f4f6c43784b64497972434a785459625439585962684a4b56682e737667)](https://asciinema.org/a/OlCxKdIyrCJxTYbT9XYbhJKVh)[![asciicast](https://camo.githubusercontent.com/1120aeada4c99687369409cca57ee597b33d60c87dfebb7ffb95e2573bf4838f/68747470733a2f2f61736369696e656d612e6f72672f612f627a4d6a67456958727370726f52747837454e4f4d7778496a2e737667)](https://asciinema.org/a/bzMjgEiXrsproRtx7ENOMwxIj)[![asciicast](https://camo.githubusercontent.com/cf4da9bec725f2a4cb3ef9b9fbbc8c1f26ff579d35aa8eb663cbf36c17a943c0/68747470733a2f2f61736369696e656d612e6f72672f612f5a6c6b58787a46733854456b643563564d4539644170744b412e737667)](https://asciinema.org/a/ZlkXxzFs8TEkd5cVME9dAptKA)[![asciicast](https://camo.githubusercontent.com/831ff4e82c5c653ef1ca5254d7190a55f3b226e37ddd67bb2d3daa84ad6c1388/68747470733a2f2f61736369696e656d612e6f72672f612f377266714769364473625865456355453278724f3231634d532e737667)](https://asciinema.org/a/7rfqGi6DsbXeEcUE2xrO21cMS)[![asciicast](https://camo.githubusercontent.com/a2d25e0166530ea8e48bef7b69038f5650f13b769c3fb05a7b313001fc302003/68747470733a2f2f61736369696e656d612e6f72672f612f5873506a35454a715a523237517678646253334a376956736c2e737667)](https://asciinema.org/a/XsPj5EJqZR27QvxdbS3J7iVsl)

Setup
-----

[](#setup)

```
$ composer global require marina/hex1:dev-master
```

Games
-----

[](#games)

- brain-even
- brain-calc
- brain-gcd
- brain-prime
- brain-progression

Example
-------

[](#example)

```
$ brain-even

Welcome to the Brain Game!
Answer "yes" if the number is even, otherwise answer "no".
May I have your name?:
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

3

Last Release

2202d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24585905?v=4)[Marina Tumanova](/maintainers/earthrobot)[@earthrobot](https://github.com/earthrobot)

---

Top Contributors

[![DannyvdSluijs](https://avatars.githubusercontent.com/u/618940?v=4)](https://github.com/DannyvdSluijs "DannyvdSluijs (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/marina-hex1/health.svg)

```
[![Health](https://phpackages.com/badges/marina-hex1/health.svg)](https://phpackages.com/packages/marina-hex1)
```

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