PHPackages                             matthiasnoback/php-coding-dojo - 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. matthiasnoback/php-coding-dojo

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

matthiasnoback/php-coding-dojo
==============================

Empty project which can be used in a PHP and PHPUnit-oriented coding dojo

v0.1.0(12y ago)71175MITPHP

Since Feb 26Pushed 10y ago2 watchersCompare

[ Source](https://github.com/matthiasnoback/php-coding-dojo)[ Packagist](https://packagist.org/packages/matthiasnoback/php-coding-dojo)[ RSS](/packages/matthiasnoback-php-coding-dojo/feed)WikiDiscussions master Synced 3d ago

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

PHP coding dojo project
=======================

[](#php-coding-dojo-project)

Setup
-----

[](#setup)

To install the project:

```
php composer.phar create-project matthiasnoback/php-coding-dojo [path] *

```

You will have an empty `src/` directory and a `phpunit.xml.dist` that is configured to run all the PHPUnit tests names `*Test.php` in the directories `src/*/Tests` (and their subdirectories). When you use this configuration the Composer autoloader will be initialized automatically to make sure that every namespaced class inside `src/` can be auto-loaded from within the test cases.

### Configure PHPStorm to run the tests

[](#configure-phpstorm-to-run-the-tests)

- Choose `Run`, `Edit configurations...` and remove any existing configuration.
- Select `Defaults - PHPUnit`, put a check before `Use alternative configuration file` and select `phpunit.xml.dist` from this project.
- Click the button to the right of this field. In the dialog that appears select `Use custom loader` and select the file `vendor/autoload.php` inside your project. This will make sure PHPStorm uses the bundled version of PHPUnit.

To validate your setup once you have installed this project, run the tests: right-click on the `src/` directory and then select `Run 'src'`.

Run the unit tests
------------------

[](#run-the-unit-tests)

To run all tests in a testcase press `Ctrl + Shift + F10` when the cursor is *not* inside a method. To run one test press `Ctrl + Shift + F10` when the cursor is inside a method. To repeat the previous test run press `Shift + F10`.

Or you can run the tests from the command-line:

```
php vendor/bin/phpunit

```

When you first run the tests, PHPStorm might ask you to supply a PHP interpreter.

PHPUnit cheatsheet
------------------

[](#phpunit-cheatsheet)

You can use my [PHPUnit cheatsheet](https://github.com/matthiasnoback/workshop-unit-testing/blob/master/cheatsheet.md)as a quick reference for PHPUnit usage.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

4461d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1193078?v=4)[Matthias Noback](/maintainers/matthiasnoback)[@matthiasnoback](https://github.com/matthiasnoback)

---

Top Contributors

[![matthiasnoback](https://avatars.githubusercontent.com/u/1193078?v=4)](https://github.com/matthiasnoback "matthiasnoback (5 commits)")

### Embed Badge

![Health badge](/badges/matthiasnoback-php-coding-dojo/health.svg)

```
[![Health](https://phpackages.com/badges/matthiasnoback-php-coding-dojo/health.svg)](https://phpackages.com/packages/matthiasnoback-php-coding-dojo)
```

###  Alternatives

[ramsey/devtools

A Composer plugin to aid PHP library and application development.

7134.7k26](/packages/ramsey-devtools)[jimbojsb/workman

PHP process forking &amp; daemonizing library

608.8k](/packages/jimbojsb-workman)

PHPackages © 2026

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