- Home
- BDD Testing Tools
- Kahlan
On the recordRead 10 Oct 202622 facts
Kahlan
On the record
- Code coverage
- Kahlan provides code coverage metrics, which require Xdebug or phpdbg.kahlan.github.io · read 10 Oct 2026
- Contributing
- The documentation invites contributors to submit pull requests against the dev branch and update specs.kahlan.github.io · read 10 Oct 2026
- Coverage exports
- The CLI documents Clover XML, Istanbul-compatible JSON, and lcov text coverage exports.kahlan.github.io · read 4 Oct 2026
- Exporters
- Built-in exporters include Coveralls, Code Climate, Scrutinizer, and Clover.kahlan.github.io · read 10 Oct 2026
- Framework compatibility
- Kahlan uses Composer autoloading and is compatible with most frameworks; some frameworks with their own autoloaders need manual namespace configuration.kahlan.github.io · read 4 Oct 2026
- Framework integrations
- The documentation describes a dedicated plugin for Laravel test facilities and a Kahlan bundle for Symfony 2.7 and later.kahlan.github.io · read 4 Oct 2026
- Installation
- The repository documents installation with Composer or by cloning the Git repository.github.com · read 10 Oct 2026
- Integration
- The documentation includes a section on integration with popular frameworks.kahlan.github.io · read 10 Oct 2026
- License
- Kahlan is licensed under MIT; the license permits use, copying, modification, distribution, sublicensing, and sale.kahlan.github.io · read 10 Oct 2026
- Monkey patching
- Kahlan can replace methods, functions, or classes during testing without requiring PECL extensions.kahlan.github.io · read 4 Oct 2026
- Performance limit
- The configuration documentation says its source interception and rewriting approach makes code run a bit slower, and that patching can be limited to selected namespaces.kahlan.github.io · read 4 Oct 2026
- Purpose
- Kahlan is a PHP unit and BDD testing framework that uses a describe-it syntax.kahlan.github.io · read 4 Oct 2026
- Reporting
- Built-in reporters include dot, bar, JSON, TAP, and verbose formats, with output optionally redirected to a file.kahlan.github.io · read 4 Oct 2026
- Reports
- Built-in reporters provide terminal or HTML reporting through Istanbul or lcov.kahlan.github.io · read 10 Oct 2026
- Requirements
- The repository lists PHP 7.4+ and Composer as requirements; Xdebug or phpdbg is needed only for coverage analysis.github.com · read 10 Oct 2026
- Stubbing
- Kahlan provides a built-in stubbing system and says Mockery or Prophecy are not needed.kahlan.github.io · read 4 Oct 2026
- Stubbing and patching
- It can stub or monkey patch code directly without requiring PECL extensions.kahlan.github.io · read 10 Oct 2026
- Support
- The repository lists an IRC support channel, #kahlan on chat.freenode.net.github.com · read 10 Oct 2026