FindSoftware

Kahlan

PHP unit and BDD test framework that stubs and monkey patches code directly.

Kahlan is a test framework for PHP with a describe-it syntax in the style of RSpec and JSpec. It stubs and monkey patches code directly, and the project says this works without any required PECL extensions.

Worth knowing

Code coverage analysis needs phpdbg or Xdebug. The documentation site is older than the current release and still gives an earlier PHP requirement, so the requirement that applies comes from the package manifest of the latest release.

Identity

Status
Active
Maintainer
CrysaLEAD3
First release
20158

Rendering and deploy

Install with
Composer2

Releases

Current major version
66
Last release
2026-10-137

Adoption

GitHub stars
1,1471
Packagist downloads
1,336,13810
Contributors
359

Why these figures do not compare

Sources

  1. 2026-11-16: links, Written in, GitHub stars
    api.github.com/repos/kahlan/kahlan
  2. 2026-11-16: links, Install with
    kahlan.github.io/docs/getting-started.html
  3. 2026-11-16: Maintainer, License
    github.com/kahlan/kahlan/blob/6.1.3/LICENSE.txt
  4. 2026-11-16: Categories
    github.com/kahlan/kahlan/blob/dev/README.md
  5. 2026-11-16: Runtime, Minimum runtime
    github.com/kahlan/kahlan/blob/6.1.3/composer.json
  6. 2026-11-16: Current major version
    api.github.com/repos/kahlan/kahlan/releases
  7. 2026-11-16: Last release
    api.github.com/repos/kahlan/kahlan/releases/latest
  8. 2026-11-16: First release
    api.github.com/repos/kahlan/kahlan/commits/1.0.0
  9. 2026-11-16: Contributors
    api.github.com/repos/kahlan/kahlan/contributors?per_page=1
  10. 2026-11-16: Packagist downloads
    packagist.org/packages/kahlan/kahlan.json

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON