Ross ROSS = Recommend OSS · open-source software intelligence for agents

kahlan/kahlan

:heavy_check_mark: PHP Test Framework for Freedom, Truth, and Justice observed · 2026-08-28

github.com/kahlan/kahlan · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

91/100

  • Activity 93
  • Release rhythm 82
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 68
  • age_days: 4763
  • days_rel: 43
  • days_push: 43
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

1148 stars · 70 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Kahlan is a full-featured Unit and BDD test framework for PHP using a describe-it syntax similar to RSpec/JSpec. It includes built-in stubbing, monkey patching, and code coverage reporting without requiring PECL extensions.

Use cases

  • write BDD-style tests in PHP with describe-it syntax
  • stub and mock class methods without mockery or prophecy
  • monkey patch core PHP functions and classes in tests
  • generate code coverage reports with xdebug or phpdbg
  • export test coverage to Coveralls, Code Climate, or Clover
  • verify that methods are called with expected arguments

When to choose

  • you prefer RSpec/JSpec-style BDD syntax over PHPUnit
  • you need dynamic mocking or monkey patching without PECL extensions
  • you want an all-in-one test framework with built-in stubbing and coverage

When to avoid

  • your team and tooling are standardized on PHPUnit
  • you need a framework with a larger ecosystem and more recent community activity
  • you cannot use xdebug or phpdbg and require code coverage

Facets

framework · maturity active

testing e2e-testing mocking benchmarking testing developer-tools web-development php cli cross-platform bdd tdd monkey-patching code-coverage stubbing rspec-style

2 sources

Member repositories

RepositoryRoleHealth v2
kahlan/kahlanmain91

For agents

markdown · JSON · MCP: product_card(name="kahlan/kahlan")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem