awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

PHP Testing Frameworks

排名更新于 2026年7月13日

For a testing framework for PHP applications, the strongest matches are sebastianbergmann/phpunit (PHPUnit is the industry-standard testing framework for the PHP), pestphp/pest (Pest is a comprehensive, industry-standard testing framework for PHP) and codeception/codeception (Codeception is a comprehensive, industry-standard testing framework for PHP). behat/behat and phpspec/phpspec round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

我们为您精选了匹配 “best php testing frameworks” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

PHP Testing Frameworks

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • sebastianbergmann/phpunitsebastianbergmann 的头像

    sebastianbergmann/phpunit

    20,033在 GitHub 上查看↗

    PHPUnit is a unit testing framework and automated testing tool for the PHP ecosystem. It provides a comprehensive suite for writing and running automated tests to verify the functional correctness of PHP code and identify software bugs. The framework supports both unit and end-to-end testing to validate individual code units and complete application workflows. It includes capabilities for automated regression testing and test suite management, allowing for the execution of targeted subsets of tests. The tool provides mechanisms for identifying flaky tests through automatic retries and test r

    PHPUnit is the industry-standard testing framework for the PHP ecosystem, providing a comprehensive suite for unit, integration, and functional testing along with built-in mocking, assertion, and code coverage capabilities.

    PHPAssertion LibrariesUnit TestingPHP Testing Frameworks
    在 GitHub 上查看↗20,033
  • pestphp/pestpestphp 的头像

    pestphp/pest

    11,537在 GitHub 上查看↗

    Pest is a testing framework for PHP that provides a comprehensive suite for executing unit, integration, and end-to-end tests. It functions as an automated testing tool that prioritizes developer experience and readability through a concise, expressive syntax for defining test suites. By wrapping an established testing foundation, it maintains compatibility with existing ecosystem tools while offering a specialized interface for writing and organizing automated tests. The framework distinguishes itself through integrated support for parallel test execution, which distributes suites across mul

    Pest is a comprehensive, industry-standard testing framework for PHP that natively supports unit, integration, and functional testing with built-in mocking, assertion, and code coverage capabilities.

    PHPPHP Testing Frameworks
    在 GitHub 上查看↗11,537
  • codeception/codeceptionCodeception 的头像

    Codeception/Codeception

    4,855在 GitHub 上查看↗

    Codeception is a full-stack testing framework for PHP applications that provides a unified interface for unit, functional, and acceptance testing. It serves as a tool for automating real desktop and mobile browsers via the WebDriver protocol and acts as a client for testing REST and SOAP APIs. The framework is distinguished by its support for Behavior-Driven Development, allowing users to write human-readable test specifications in Gherkin language to align technical tests with business requirements. It implements actor-based action mapping to connect these natural language steps to executabl

    Codeception is a comprehensive, industry-standard testing framework for PHP that provides a unified interface for unit, functional, and acceptance testing, fully supporting the requested features including mocking, code coverage, and data-driven testing.

    PHPCode Coverage ReportingsData-Driven TestingTest Parameterization
    在 GitHub 上查看↗4,855
  • behat/behatBehat 的头像

    Behat/Behat

    3,959在 GitHub 上查看↗

    Behat is a behavior-driven development framework and test automation tool for PHP. It functions as a Gherkin test runner that maps natural language feature files to executable PHP methods to verify that software implementation aligns with business requirements. The framework enables the definition of application behavior using a structured, human-readable format based on user stories, supporting localized keywords for non-English speaking stakeholders. It distinguishes itself through a driver-based browser simulation layer for user interface verification and specialized integrations for the S

    Behat is a specialized behavior-driven development framework for PHP that focuses on functional and acceptance testing through human-readable Gherkin scenarios, making it a robust tool for verifying business requirements even though it is distinct from traditional unit-testing-focused frameworks.

    PHPBehavior Driven DevelopmentBehavioral Testing ToolsGherkin-based Testing
    在 GitHub 上查看↗3,959
  • phpspec/phpspecphpspec 的头像

    phpspec/phpspec

    1,900在 GitHub 上查看↗

    SpecBDD Framework for PHP

    This is a specialized BDD-focused testing framework for PHP that provides robust unit testing and mocking capabilities, though it is designed for specification-driven development rather than general-purpose integration or functional testing.

    PHPTesting and Quality
    在 GitHub 上查看↗1,900
  • kahlan/kahlankahlan 的头像

    kahlan/kahlan

    1,146在 GitHub 上查看↗

    :heavycheckmark: PHP Test Framework for Freedom, Truth, and Justice

    Kahlan is a full-featured PHP testing framework that provides built-in support for unit testing, mocking, and code coverage analysis without requiring external dependencies.

    PHPTesting and Quality
    在 GitHub 上查看↗1,146

Related searches

  • a testing framework for Java applications
  • a modern web framework for PHP development
  • a testing framework for Go applications
  • a testing framework for Ruby applications
  • a behavior driven development testing framework
  • a unit testing framework for C++
  • a testing framework for Dart applications
  • a testing framework for Kotlin projects