# Behat 4.0

A new major version of Behat, the behaviour-driven development framework for PHP, with support for Gherkin rules and tag expressions.

A step can now take both a DocString and a DataTable. Annotations and YAML configuration are gone. Behat is maintained by volunteers, with no company behind it.

- Made by: [Behat](https://github.com/Behat)
- Shipped: 28/09/2026
- Date from: [release](https://github.com/Behat/Behat/releases/tag/v4.0.0)
- Source: [github.com/Behat/Behat](https://github.com/Behat/Behat)
- Docs: [docs.behat.org/en/latest](https://docs.behat.org/en/latest/)
- Install: `composer require behat/behat`
- Licence: MIT
- Stack: plain PHP
- Checked: 21/10/2026
- Added: 21/10/2026

See more at [phplives.dev](https://phplives.dev)
