PHPackages                             ticktick/hexlet-php-project-1 - 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. ticktick/hexlet-php-project-1

ActiveProject

ticktick/hexlet-php-project-1
=============================

Solution fo Hexlet Brain Games project

1.4(5y ago)024MITPHP

Since May 27Pushed 5y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

[![Maintainability](https://camo.githubusercontent.com/87e494d310138bc7e327251709c48ebd32709303ac526b56176f1c81f098474f/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f35313466646266303262303164333032626566332f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ticktick/php-project-lvl1/maintainability)[![CI](https://github.com/ticktick/php-project-lvl1/workflows/CI/badge.svg)](https://github.com/ticktick/php-project-lvl1/workflows/CI/badge.svg)

A set of command line math games:

- brain-games - you should answer if the number is even or not
- brain-calc - you should calculate the result of math expression
- brain-gcd - you should calculate the greatest common divisor for given numbers
- brain-progression - you should find a missed element from the arithmetic progression
- brain-prime - you should answer if the number is prime or not

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

[](#installation)

`composer global require ticktick/hexlet-php-project-1`

Make sure ~/.composer/vendor/bin is in PATH, if you want to run games globally

`export PATH="$PATH:$HOME/.composer/vendor/bin"`

Installation &amp; Brain-games example
--------------------------------------

[](#installation--brain-games-example)

`$ brain-games`

[![asciicast](https://camo.githubusercontent.com/93a554debe47762fc04495c711dc076aee6aee14a0763ec86efe3d88f59eb4b8/68747470733a2f2f61736369696e656d612e6f72672f612f6d4d7a71625248633948694145496a483768427044443932352e737667)](https://asciinema.org/a/mMzqbRHc9HiAEIjH7hBpDD925)

Brain-calc example
------------------

[](#brain-calc-example)

`$ brain-calc`

[![asciicast](https://camo.githubusercontent.com/0bad113b331fb8d37cd70ca42d0815c45af6383c356a00d2857e0866ebae8024/68747470733a2f2f61736369696e656d612e6f72672f612f6f7734616c735365366e4c71397936423346637750334354552e737667)](https://asciinema.org/a/ow4alsSe6nLq9y6B3FcwP3CTU)

Brain-gcd example
-----------------

[](#brain-gcd-example)

`$ brain-gcd`

[![asciicast](https://camo.githubusercontent.com/2b27e83697eac7381f695f5d8fa24e7a5db8af2334660ecfa54f768ac1692128/68747470733a2f2f61736369696e656d612e6f72672f612f4454584c4a6836474a68746f505449326d426d4a5a663049612e737667)](https://asciinema.org/a/DTXLJh6GJhtoPTI2mBmJZf0Ia)

Brain-progression example
-------------------------

[](#brain-progression-example)

`$ brain-progression`

[![asciicast](https://camo.githubusercontent.com/d5cbfab61acb8d0255b70014aeaec1d9204174b083424996693c462533107c19/68747470733a2f2f61736369696e656d612e6f72672f612f5a5a6b316f437a644f3478354a6547583265754d6a677242342e737667)](https://asciinema.org/a/ZZk1oCzdO4x5JeGX2euMjgrB4)

Brain-prime example
-------------------

[](#brain-prime-example)

`$ brain-prime`

[![asciicast](https://camo.githubusercontent.com/70970601e967d72db0bbade4a1f04030a3edb51aee600a7c58988a58dc19f3be/68747470733a2f2f61736369696e656d612e6f72672f612f75435530366b77586531766547536857535a49474a59624d702e737667)](https://asciinema.org/a/uCU06kwXe1veGShWSZIGJYbMp)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

5

Last Release

2179d ago

### Community

Maintainers

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

---

Top Contributors

[![ticktick](https://avatars.githubusercontent.com/u/4603516?v=4)](https://github.com/ticktick "ticktick (29 commits)")

### Embed Badge

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

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

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k123.5M1.8k](/packages/slevomat-coding-standard)[drupal/coder

Coder is a library to review Drupal code.

3043.6M461](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[mayflower/mo4-coding-standard

PHP CodeSniffer ruleset implementing the MO4 coding standards extending the Symfony coding standards.

17508.3k5](/packages/mayflower-mo4-coding-standard)

PHPackages © 2026

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