Kahlan
kahlan.github.io
Spec sheet
- What it does
- Kahlan is a PHP unit and BDD test framework using a describe-it syntax similar to RSpec and JSpec.Read 10 Oct 2026 · kahlan.github.io
- Purpose
- Kahlan is a PHP unit and BDD testing framework that uses a describe-it syntax.Read 4 Oct 2026 · kahlan.github.io
- Support
- The repository lists an IRC support channel, #kahlan on chat.freenode.net.Read 10 Oct 2026 · github.com
- License
- Kahlan is licensed under MIT; the license permits use, copying, modification, distribution, sublicensing, and sale.Read 10 Oct 2026 · kahlan.github.io
- Code coverage
- Kahlan provides code coverage metrics, which require Xdebug or phpdbg.Read 10 Oct 2026 · kahlan.github.io
- Contributing
- The documentation invites contributors to submit pull requests against the dev branch and update specs.Read 10 Oct 2026 · kahlan.github.io
- Coverage exports
- The CLI documents Clover XML, Istanbul-compatible JSON, and lcov text coverage exports.Read 4 Oct 2026 · kahlan.github.io
- Exporters
- Built-in exporters include Coveralls, Code Climate, Scrutinizer, and Clover.Read 10 Oct 2026 · kahlan.github.io
- Framework compatibility
- Kahlan uses Composer autoloading and is compatible with most frameworks; some frameworks with their own autoloaders need manual namespace configuration.Read 4 Oct 2026 · kahlan.github.io
- Framework integrations
- The documentation describes a dedicated plugin for Laravel test facilities and a Kahlan bundle for Symfony 2.7 and later.Read 4 Oct 2026 · kahlan.github.io
- Installation
- The repository documents installation with Composer or by cloning the Git repository.Read 10 Oct 2026 · github.com
- Integration
- The documentation includes a section on integration with popular frameworks.Read 10 Oct 2026 · kahlan.github.io
- Monkey patching
- Kahlan can replace methods, functions, or classes during testing without requiring PECL extensions.Read 4 Oct 2026 · kahlan.github.io
- 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.Read 4 Oct 2026 · kahlan.github.io
- Reporting
- Built-in reporters include dot, bar, JSON, TAP, and verbose formats, with output optionally redirected to a file.Read 4 Oct 2026 · kahlan.github.io
- Reports
- Built-in reporters provide terminal or HTML reporting through Istanbul or lcov.Read 10 Oct 2026 · kahlan.github.io
- Requirements
- The repository lists PHP 7.4+ and Composer as requirements; Xdebug or phpdbg is needed only for coverage analysis.Read 10 Oct 2026 · github.com
- Stubbing
- Kahlan provides a built-in stubbing system and says Mockery or Prophecy are not needed.Read 4 Oct 2026 · kahlan.github.io
- Stubbing and patching
- It can stub or monkey patch code directly without requiring PECL extensions.Read 10 Oct 2026 · kahlan.github.io
- Test doubles
- Its stubbing system supports dynamic mocking of class methods, and the docs say Mockery or Prophecy are no longer needed.Read 10 Oct 2026 · kahlan.github.io
- Warranty
- The MIT license provides the software as is, without warranty of any kind.Read 10 Oct 2026 · kahlan.github.io
- Workflow
- The framework describes its workflow as extensible and customizable.Read 10 Oct 2026 · kahlan.github.io
Where Specifiction places it
- BDD Testing Tools#22 of 307.1