PHPackages                             oliverklee/dungeon-of-bugs - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. oliverklee/dungeon-of-bugs

ActiveProject[Testing &amp; Quality](/categories/testing)

oliverklee/dungeon-of-bugs
==========================

A console-based dungeon crawler game which I use in my TDD workshops.

101[9 issues](https://github.com/oliverklee-de/dungeon-of-bugs/issues)PHPCI passing

Since Apr 20Pushed 2d ago1 watchersCompare

[ Source](https://github.com/oliverklee-de/dungeon-of-bugs)[ Packagist](https://packagist.org/packages/oliverklee/dungeon-of-bugs)[ RSS](/packages/oliverklee-dungeon-of-bugs/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (18)Used By (0)

Dungeon of Bugs
===============

[](#dungeon-of-bugs)

This project is a dungeon crawler game using PHP and the Symfony console.

It also is an exercise for my workshops on test-driven development (PHP).

Requirements
------------

[](#requirements)

You'll need one of these:

- local PHP 8.3+ and Composer 2
- Docker and [DDEV](https://github.com/ddev/ddev)

Running the game
----------------

[](#running-the-game)

With local PHP:

```
bin/dungeon-of-bugs
```

With DDEV:

```
ddev exec dungeon-of-bugs
```

Running the PHPUnit tests
-------------------------

[](#running-the-phpunit-tests)

### On the command line

[](#on-the-command-line)

#### Running all tests

[](#running-all-tests)

DescriptionCommandComposer script with local PHP`composer check:tests:all`direct PHPUnit call with local PHP`vendor/bin/phpunit --testsuite all`Composer script with DDEV`ddev composer check:tests:all`#### Running only the unit tests

[](#running-only-the-unit-tests)

DescriptionCommandComposer script with local PHP`composer check:tests:unit`direct PHPUnit call with local PHP`vendor/bin/phpunit --testsuite unit`Composer script with DDEV`ddev composer check:tests:unit`#### Running only the functional tests

[](#running-only-the-functional-tests)

DescriptionCommandComposer script with local PHP`composer check:tests:functional`direct PHPUnit call with local PHP`vendor/bin/phpunit --testsuite functional`Composer script with DDEV`ddev composer check:tests:functional`### In PHPStorm

[](#in-phpstorm)

First, you need to configure the PHP interpreter in PHPStorm:

- [local interpreter](https://www.jetbrains.com/help/phpstorm/configuring-local-interpreter.html)
- [remote interpreter with DDEV](https://ddev.readthedocs.io/en/latest/users/install/phpstorm/)

After this, configure PHPUnit:

1. enter the PhpStorm settings
2. PHP &gt; Test Frameworks
3. add a new PHPUnit configuration
4. in "PHPUnit library", select "Use Composer autoloader" and set `vendor/autoload.php` as path
5. in "Test Runner", select "Default configuration file" and set `Build/phpunit/config.xml` as path to script

Now you can right-click on a testcase or a directory and select "Run".

Credits
-------

[](#credits)

Part of the code has been copied from the Snake Console game by @dbu.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance45

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 84.7% 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/2cc98eb6580d4532340e818ea893009da65365b7f3525f518d143732e838735a?d=identicon)[oliverklee](/maintainers/oliverklee)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (458 commits)")[![oliverklee](https://avatars.githubusercontent.com/u/765746?v=4)](https://github.com/oliverklee "oliverklee (63 commits)")[![AnReiter](https://avatars.githubusercontent.com/u/234920694?v=4)](https://github.com/AnReiter "AnReiter (20 commits)")

---

Tags

dungeon-crawler-gamephpunittddtdd-kata

### Embed Badge

![Health badge](/badges/oliverklee-dungeon-of-bugs/health.svg)

```
[![Health](https://phpackages.com/badges/oliverklee-dungeon-of-bugs/health.svg)](https://phpackages.com/packages/oliverklee-dungeon-of-bugs)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M361](/packages/dms-phpunit-arraysubset-asserts)[gong023/assert_chain

enable you to use phpunit assert with method chain

1478.9k3](/packages/gong023-assert-chain)

PHPackages © 2026

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