PHPackages                             arkadiy/php-project1 - 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. arkadiy/php-project1

ActiveProject

arkadiy/php-project1
====================

An educational project in written in PHP

014PHP

Since Jun 21Pushed 6y agoCompare

[ Source](https://github.com/arkadiy93/php-project-lvl1)[ Packagist](https://packagist.org/packages/arkadiy/php-project1)[ RSS](/packages/arkadiy-php-project1/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Brain-games
===========

[](#brain-games)

[![Maintainability](https://camo.githubusercontent.com/20943ff6f10611f8530d66eed073b2ccf9ede377cd4d826fdf7d2754869ad27f/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32303639353865303839326634333362653562662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/arkadiy93/php-project-lvl1/maintainability) [![Build Status](https://camo.githubusercontent.com/7c5993e6518c2f9a5ce16555035c824de1ec236b0f0c7f67d45674b5bfeadc71/68747470733a2f2f7472617669732d63692e6f72672f61726b6164697939332f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/arkadiy93/php-project-lvl1)

### Description

[](#description)

A small command line game involving basic arithmetical games which last for 3 rounds in case of succesfully answering the questions.

This is an educational project with the main goal to get familiar with setting up development environment in a PHP project.

### Installation

[](#installation)

In order to install the game run:

```
composer global require arkadiy/php-project1

```

[![asciicast](https://camo.githubusercontent.com/46211ce2eac561c73405cadca9597fbbe99fe358c7212b12d60b07f5301a041c/68747470733a2f2f61736369696e656d612e6f72672f612f3235313035322e737667)](https://asciinema.org/a/251052)

### Usage

[](#usage)

After you have installed the package you can run directly any of the following game modes:

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

Example of starting progression game

```
brain-progression

```

### Brain-even

[](#brain-even)

A game mode where user has to answer with a yes or no if the shown number is even. [![asciicast](https://camo.githubusercontent.com/d8054bfddcba5394d539f36cdd46432da43d2a31f81c1575b84be8a6cf1bca37/68747470733a2f2f61736369696e656d612e6f72672f612f3235313233302e737667)](https://asciinema.org/a/251230)

### Brain-calc

[](#brain-calc)

A game mode where user has to answer the correct result of a simple mathematical expression. [![asciicast](https://camo.githubusercontent.com/8aca71ec8210ab883db6d4229871aa72e822adb7e27ad1d394ae2a3ae462aa0c/68747470733a2f2f61736369696e656d612e6f72672f612f3235313238372e737667)](https://asciinema.org/a/251287)

### Brain-gcd

[](#brain-gcd)

A game mode where user has to answer which is the greatest common divisor of the two shown numbers. [![asciicast](https://camo.githubusercontent.com/62a0a6301d26de26eefa9eb3a3f71d71a1c8dbb67ab92785a622cb0ef3a726dd/68747470733a2f2f61736369696e656d612e6f72672f612f3235313238332e737667)](https://asciinema.org/a/251283)

### Brain-progression

[](#brain-progression)

A game mode where user has to answer which is the missing number from the arithmetical progression. [![asciicast](https://camo.githubusercontent.com/23bb486f527aed1baa65228b655ef6258f3c7b0d338a942e2cf79426e27462b5/68747470733a2f2f61736369696e656d612e6f72672f612f3235313239352e737667)](https://asciinema.org/a/251295)

### Brain-prime

[](#brain-prime)

A game mode where user has to answer with a yes or no if the shown number is a prime number. [![asciicast](https://camo.githubusercontent.com/f25ffed323eed4fc6a15a894c3c7d9cb6aac9f5689e8b183da7c86242f75b942/68747470733a2f2f61736369696e656d612e6f72672f612f3235313330332e737667)](https://asciinema.org/a/251303)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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/06995b6a5b35b48ed36a92238e44f83aa61aa68ff61bfae1be7c2dceb6fe4f41?d=identicon)[Arkadiy](/maintainers/Arkadiy)

---

Top Contributors

[![arkadiy93](https://avatars.githubusercontent.com/u/23264453?v=4)](https://github.com/arkadiy93 "arkadiy93 (25 commits)")

### Embed Badge

![Health badge](/badges/arkadiy-php-project1/health.svg)

```
[![Health](https://phpackages.com/badges/arkadiy-php-project1/health.svg)](https://phpackages.com/packages/arkadiy-php-project1)
```

PHPackages © 2026

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