[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8452":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":16,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":15,"starSnapshotCount":15,"syncStatus":16,"lastSyncTime":34,"discoverSource":35},8452,"Behat","Behat\u002FBehat","BDD in PHP","http:\u002F\u002Fbehat.org",null,"PHP",3958,614,138,48,0,2,5,30.37,"MIT License",false,"3.x",[23,24,25,26,27,28,29,30],"bdd","behat","behavior-driven-development","cucumber","documentation-tool","gherkin","php","test-driven-development","2026-06-12 02:01:53","![Behat](https:\u002F\u002Fgithub.com\u002FBehat\u002Flogo\u002Fraw\u002Fmaster\u002Flogo.png)\n\nBehat is a BDD framework for PHP to help you test business expectations.\n\n[![Gitter chat](https:\u002F\u002Fbadges.gitter.im\u002FBehat\u002FBehat.svg)](https:\u002F\u002Fgitter.im\u002FBehat\u002FBehat)\n[![License](https:\u002F\u002Fposer.pugx.org\u002Fbehat\u002Fbehat\u002Flicense.svg)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fbehat\u002Fbehat)\n[![Build Status](https:\u002F\u002Fgithub.com\u002FBehat\u002FBehat\u002Fworkflows\u002FBuild\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002FBehat\u002FBehat\u002Factions?query=workflow%3ABuild)\n\nInstalling Behat\n----------------\n\nThe easiest way to install Behat is by using [Composer](https:\u002F\u002Fgetcomposer.org):\n\n```bash\ncomposer require --dev behat\u002Fbehat\n```\n\nAfter that you'll be able to run Behat via:\n\n```bash\nvendor\u002Fbin\u002Fbehat\n```\n\nInstalling Development Version\n------------------------------\n\nClone the repository and install dependencies via [Composer](https:\u002F\u002Fgetcomposer.org):\n\n```bash\ncomposer install\n```\n\nAfter that you will be able to run development version of Behat via:\n\n```bash\nbin\u002Fbehat\n```\n\nContributing\n------------\n\nBefore contributing to Behat, please take a look at the [CONTRIBUTING.md](CONTRIBUTING.md) document.\n\nVersioning\n----------\n\nStarting from `v3.0.0`, Behat is following [Semantic Versioning v2.0.0](https:\u002F\u002Fsemver.org\u002Fspec\u002Fv2.0.0.html).\nThis basically means that if all you do is implement interfaces (like [this one](https:\u002F\u002Fgithub.com\u002FBehat\u002FBehat\u002Fblob\u002Fv3.1.0\u002Fsrc\u002FBehat\u002FBehat\u002FContext\u002FContextClass\u002FClassResolver.php#L15-L22))\nand use service constants (like [this one](https:\u002F\u002Fgithub.com\u002FBehat\u002FBehat\u002Fblob\u002Fv3.1.0\u002Fsrc\u002FBehat\u002FBehat\u002FContext\u002FServiceContainer\u002FContextExtension.php#L46)),\nyou would not have any backwards compatibility issues with Behat up until `v4.0.0` (or later major)\nis released. Exception could be an extremely rare case where BC break is introduced as a measure\nto fix a serious issue.\n\nYou can read detailed guidance on what BC means in [Symfony BC guide](https:\u002F\u002Fsymfony.com\u002Fdoc\u002Fcurrent\u002Fcontributing\u002Fcode\u002Fbc.html).\n\nUseful Links\n------------\n\n- The main website is at [https:\u002F\u002Fbehat.org](https:\u002F\u002Fbehat.org)\n- The documentation is at [https:\u002F\u002Fdocs.behat.org\u002Fen\u002Flatest\u002F](https:\u002F\u002Fdocs.behat.org\u002Fen\u002Flatest\u002F)\n- [Note on Patches\u002FPull Requests](CONTRIBUTING.md)\n\nContributors\n------------\n\n- Konstantin Kudryashov [everzet](https:\u002F\u002Fgithub.com\u002Feverzet) [original developer]\n- Andrew Coulton [acoulton](https:\u002F\u002Fgithub.com\u002Facoulton) [current maintainer]\n- Carlos Granados [carlos-granados](https:\u002F\u002Fgithub.com\u002Fcarlos-granados) [current maintainer]\n- Christophe Coevoet [stof](https:\u002F\u002Fgithub.com\u002Fstof) [current maintainer]\n- Other [awesome developers](https:\u002F\u002Fgithub.com\u002FBehat\u002FBehat\u002Fgraphs\u002Fcontributors)\n\nSupport the project\n-------------------\n\nBehat is free software, maintained by volunteers as a gift for users. If you'd like to see\nthe project continue to thrive, and particularly if you use it for work, we'd encourage you\nto contribute.\n\nContributions of time - whether code, documentation, or support reviewing PRs and triaging\nissues - are very welcome and valued by the maintainers and the wider Behat community.\n\nBut we also believe that [financial sponsorship is an important part of a healthy Open Source\necosystem](https:\u002F\u002Fopensourcepledge.com\u002Fabout\u002F). Maintaining a project like Behat requires a\nsignificant commitment from the core team: your support will help us to keep making that time\navailable over the long term. Even small contributions make a big difference.\n\nYou can support [@acoulton](https:\u002F\u002Fgithub.com\u002Facoulton), [@carlos-granados](https:\u002F\u002Fgithub.com\u002Fcarlos-granados) and\n[@stof](https:\u002F\u002Fgithub.com\u002Fstof) on GitHub sponsors. If you'd like to discuss supporting us in a different way, please\nget in touch!\n\nTechnology Sponsors\n-------------------\nTechnology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.\n\n\u003Ca href=\"https:\u002F\u002Fjb.gg\u002FOpenSource\">\u003Cimg src=\"https:\u002F\u002Fresources.jetbrains.com\u002Fstorage\u002Fproducts\u002Fcompany\u002Fbrand\u002Flogos\u002Fjetbrains.svg\" width=\"200\" alt=\"JetBrains\">\u003C\u002Fa>\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\">\u003Cimg src=\"GitHub_Lockup_Dark.svg\" width=\"150\">\u003C\u002Fa>\n\n","Behat 是一个用于 PHP 的行为驱动开发（BDD）框架，旨在帮助开发者通过自然语言描述来测试业务需求。其核心功能包括支持 Gherkin 语法编写测试用例、提供丰富的上下文环境设置选项以及与 Cucumber 类似的测试执行机制。Behat 采用了 MIT 许可证发布，确保了开源社区的广泛参与和贡献。它特别适合于需要将业务规则清晰地转化为自动化测试的场景，尤其是当团队成员之间需要就系统的行为达成一致理解时。此外，Behat 也支持持续集成流程中的自动化测试，使得软件开发过程更加高效可靠。","2026-06-11 03:18:06","top_language"]