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-10-19

github.com/kahlan/kahlan · homepage · PHP · MIT (permissive) observed · 2026-10-19

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • Longevity 100
How is this computed?

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

  • gap_med: 50.0
  • age_days: 4811
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

1146 stars · 69 forks observed · 2026-10-19

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/kahlanmain95

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem