PHPackages                             barsukov/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. barsukov/php-project-lvl1

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

barsukov/php-project-lvl1
=========================

php learning package

07PHP

Since Jan 14Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### php-project-lvl1

[](#php-project-lvl1)

[![](https://camo.githubusercontent.com/0f6625253195be8bad32509d1e927d9b2ab4442c1263941447c5466100970510/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39613266643665383038653133323036383734342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/barsukov2/php-project-lvl1/maintainability)[![Build Status](https://camo.githubusercontent.com/264cb3bf8434fabf6a317ae53ea771ec4e7ad4a2a93748d3ed5bb14ecd591bee/68747470733a2f2f7472617669732d63692e636f6d2f62617273756b6f76322f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/barsukov2/php-project-lvl1)

### About

[](#about)

I am learning PHP at

And this is my very first project!

It contains brain games: calc, even, GCD, prime, progression.

3 correct answers in game and you win! Good luck!

### Install

[](#install)

To install this brain-games type

$ composer global require barsukov/php-project-lvl1:dev-master

in a command shell

[![asciicast](https://camo.githubusercontent.com/49e37bf77172159fb3d1beee63e0031ab2c876e366d48fffd051fd92d2fadac8/68747470733a2f2f61736369696e656d612e6f72672f612f3330383736382e706e67)](https://asciinema.org/a/308768)

Make sure that your $PATH variable contains Composer bin directory

### Even game

[](#even-game)

After installation type

$ brain-even

in a command shell.

[![asciicast](https://camo.githubusercontent.com/0cba00aa65679d655f63ca13c83f7fa9d5752de33e46b0ae7d47339c4ea3868d/68747470733a2f2f61736369696e656d612e6f72672f612f3330393335352e706e67)](https://asciinema.org/a/309355)

You need to answer is number even or not.

### Calculator game

[](#calculator-game)

After installation type

$ brain-calc

in a command shell.

[![asciicast](https://camo.githubusercontent.com/e295576e8c91a9bc795ac3b3528157e61fbc24f47443b2063192682f1e3ef3ff/68747470733a2f2f61736369696e656d612e6f72672f612f3330393335362e706e67)](https://asciinema.org/a/309356)

You need to solve the expressions.

### Global common divisor game

[](#global-common-divisor-game)

After installation type

$ brain-gcd

in a command shell.

[![asciicast](https://camo.githubusercontent.com/a1ffbace85c0ab35bafe10954b2b6e24bda028b4c6118249b3ada291f64ab35e/68747470733a2f2f61736369696e656d612e6f72672f612f3330393336322e706e67)](https://asciinema.org/a/309362)

You need to find global common divisor of two numbers.

### Prime game

[](#prime-game)

After installation type

$ brain-prime

in a command shell.

[![asciicast](https://camo.githubusercontent.com/5c7c62db11e568dceb7c23cf0ccc62415539f5478c7f08a232e26430da0168e1/68747470733a2f2f61736369696e656d612e6f72672f612f3330393336332e706e67)](https://asciinema.org/a/309363)

You need to answer is number prime or not.

### Progression game

[](#progression-game)

After installation type

$ brain-progression

in a command shell.

[![asciicast](https://camo.githubusercontent.com/a3d73a851105bd26f700a71b7e4096ed69e20918ef1fe7afacebdf58e22a2b45/68747470733a2f2f61736369696e656d612e6f72672f612f3330393336362e706e67)](https://asciinema.org/a/309366)

You need to find missed element of progression.

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.1% 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/53a427f92b3810111950ac1120b3b350860421b604ce1d828d93f9d77bec202f?d=identicon)[barsukov2](/maintainers/barsukov2)

---

Top Contributors

[![barsukov2](https://avatars.githubusercontent.com/u/11941473?v=4)](https://github.com/barsukov2 "barsukov2 (53 commits)")[![barsukov22](https://avatars.githubusercontent.com/u/85436182?v=4)](https://github.com/barsukov22 "barsukov22 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[bigwhoop/sentence-breaker

Sentence boundary disambiguation (SBD) - or sentence breaking - library written in PHP.

42132.3k](/packages/bigwhoop-sentence-breaker)[j0k3r/graby-site-config

Graby site config files

23365.8k3](/packages/j0k3r-graby-site-config)

PHPackages © 2026

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