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

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

nowitty/php-project-lvl1
========================

console games

v1.4(6y ago)06MITPHPPHP ^7.3

Since Dec 8Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Nowitty/php-project-lvl1)[ Packagist](https://packagist.org/packages/nowitty/php-project-lvl1)[ RSS](/packages/nowitty-php-project-lvl1/feed)WikiDiscussions master Synced 5d ago

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

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

[](#php-project-lvl1)

[![](https://camo.githubusercontent.com/d637ae4687650d377d6c30ae0572e2b251c6f7024f1c154fd6c4475c0ce2ce13/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34313138333163353363393233353839366134322f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Nowitty/php-project-lvl1/maintainability)

[![Build Status](https://camo.githubusercontent.com/6b9d577c0a5a3b1d8a7c01b94a120b8c1705cb75ffadfacb7d12c92af36d17d3/68747470733a2f2f7472617669732d63692e636f6d2f4e6f77697474792f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Nowitty/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 "nowitty/php-project-lvl1"`

[![asciicast](https://camo.githubusercontent.com/7b22ec9607eb228dddb8b2145761f5d5cb37711da8202489a068e7c938bc191b/68747470733a2f2f61736369696e656d612e6f72672f612f556a386b515a5a487077735748745732716e734172363651482e737667)](https://asciinema.org/a/Uj8kQZZHpwsWHtW2qnsAr66QH)

Start
-----

[](#start)

To start the even / odd game, use the brain-even command:

[![asciicast](https://camo.githubusercontent.com/3da3aa2502093d610e96915363ceed83370c4753a6de00767da8e905ec56f642/68747470733a2f2f61736369696e656d612e6f72672f612f585038716b647030626c326968515a38385863756775564c4d2e737667)](https://asciinema.org/a/XP8qkdp0bl2ihQZ88XcuguVLM)

To start the game "Calculator" use the brain-calc command:

[![asciicast](https://camo.githubusercontent.com/9ebce1d58b84f40182c5070c708bbcc10d8aa378b05ff759ea6ff56a9eccbf78/68747470733a2f2f61736369696e656d612e6f72672f612f57654d553862795276535643686261454b4c5a78743664716f2e737667)](https://asciinema.org/a/WeMU8byRvSVChbaEKLZxt6dqo)

To starts the game "Largest common factor" use the brain-gcd command:

[![asciicast](https://camo.githubusercontent.com/67f6bf4fbf274c7a229433b4bd6e5cbb7fe0054dafb27371de38bee4ca9eb926/68747470733a2f2f61736369696e656d612e6f72672f612f75775542624661784c50656e486365666e5274426d4341314e2e737667)](https://asciinema.org/a/uwUBbFaxLPenHcefnRtBmCA1N)

To starts the game "Progression" use the brain-progression command:

[![asciicast](https://camo.githubusercontent.com/57d0690dc281d86f92155829a3f1cd13b7fc2fb351888e08c5fd775bcf685486/68747470733a2f2f61736369696e656d612e6f72672f612f50594e58526c613455326e51784144324f5a6e7275446871592e737667)](https://asciinema.org/a/PYNXRla4U2nQxAD2OZnruDhqY)

To start the game "Prime" use the brain-prime command:

[![asciicast](https://camo.githubusercontent.com/6113fe328ac87f1d96dcf40954a1a845cf73206cb8011d83111058d78e7d5067/68747470733a2f2f61736369696e656d612e6f72672f612f6548377452654d3830334565376b314d364c4e516b704962572e737667)](https://asciinema.org/a/eH7tReM803Ee7k1M6LNQkpIbW)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Total

5

Last Release

2344d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12575c05f9dc6ffc7c097dc539f9f4e297232290f301b53781a36fa68fd0d0e6?d=identicon)[Nowitty](/maintainers/Nowitty)

---

Top Contributors

[![Nowitty](https://avatars.githubusercontent.com/u/47500135?v=4)](https://github.com/Nowitty "Nowitty (2 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[indatus/dispatcher

Schedule your artisan commands within your application's source code

1.1k855.3k2](/packages/indatus-dispatcher)

PHPackages © 2026

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