relflly / progression
Console arithmetic progression game for PHP CLI.
v1.0
2026-04-09 17:25 UTC
Requires
- php: ^8.1
- wp-cli/php-cli-tools: ^0.12.0
Requires (Dev)
- squizlabs/php_codesniffer: ^3.10
README
Progression is a console PHP game where the player must find the missing number in an arithmetic progression.
Requirements
- PHP 8.1 or newer
- Composer
Installation
Local installation
composer install
Global installation with Composer
composer global require relflly/progression
After global installation add Composer's global bin directory to PATH and run:
progression
Run
php bin/progression
Development
Generate optimized autoload files:
composer dump-autoload -o
Check PSR-12:
php vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 src bin/progression