PHP PHPunit

Open-source PHP projects categorized as PHPunit

Top 23 PHP PHPunit Projects

  • PHPUnit

    The PHP Unit Testing framework.

  • Project mention: 8 Essential Tools Every PHP Developer Needs | dev.to | 2024-02-27

    PHPUnit is the de facto standard for PHP unit testing. It provides a framework for writing and running tests, helping developers quickly discover and fix errors. PHPUnit encourages developers to write testable code and adopt a test-driven development approach, resulting in higher-quality code and reduced chances of errors in production.

  • Mockery

    Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Codeception

    Full-stack testing PHP framework

  • php-ddd-example

    🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

  • Project mention: Hexagonal Architecture, DDD and CQRS in PHP | news.ycombinator.com | 2023-10-28
  • PHP VCR

    Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

  • doctrine-test-bundle

    Symfony bundle to isolate your app's doctrine database tests and improve the test performance

  • phpunit-watcher

    A tool to automatically rerun PHPUnit tests when source code changes

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • phpunit-speedtrap

    Reports on slow-running tests in your PHPUnit test suite

  • Project mention: PHP libraries and tools | dev.to | 2023-10-18

    johnkary/phpunit-speedtrap: Reports on slow-running tests in your PHPUnit test suite.

  • wp_mock

    WordPress API Mocking Framework

  • Phake

    PHP Mocking Framework

  • bypass-finals

    Removes `final` and `readonly` keywords from source code on-the-fly and allows mocking of final methods and classes. It can be used together with any test tool such as PHPUnit or Mockery.

  • Project mention: BillaBear - Design Decisions ‐ Not Using Final Classes | /r/PHP | 2023-07-11

    I had this issue when working with Dibi as I needed to mock final methods. You can use this https://github.com/dg/bypass-finals package and forget all the debate about finals against non-final.

  • laravel-vue-crud-starter

    Laravel 8 + Vue 2 + AdminLTE 3 based Crud Starter template

  • BrainMonkey

    Mocking utility for PHP functions and WordPress plugin API

  • guzzler

    Supercharge your app or SDK with a testing library specifically for Guzzle

  • Steward

    PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust

  • phpunit-pretty-print

    ✅  Make your PHPUnit output beautiful

  • PHPUnit-Polyfills

    Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests

  • php-mock-phpunit

    Mock built-in PHP functions (e.g. time() or rand()) in PHPUnit.

  • paraunit

    Run PHPUnit tests in parallel

  • wp-phpunit

    WordPress core PHPUnit library. [READ ONLY] Versions for new WordPress releases are built daily.

  • phpunit-architecture-test

    PHPUnit Application Architecture Test. For architecture tests

  • phpunit-injector

    Injects services from a PSR-11 dependency injection container to PHPUnit test cases

  • PHP Noise

    A starter-kit for your PHP project. (by MedUnes)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP PHPunit related posts

  • How to migrate from Api Platform v2 to v3?

    2 projects | dev.to | 29 Nov 2023
  • BillaBear - Design Decisions ‐ Not Using Final Classes

    2 projects | /r/PHP | 11 Jul 2023
  • PHPUnit 10 - Coverage attributes

    1 project | /r/PHP | 23 Jun 2023
  • Public or private by default, what to choose?

    2 projects | /r/PHP | 2 May 2023
  • I created a PHPUnit 10 extension to prettify CLI output

    6 projects | /r/PHP | 25 Apr 2023
  • A PHPUnit 10 extension to enforce minimum code coverage by using the clover XML

    1 project | /r/PHPDevelopersTV | 26 Apr 2023
  • How Are Y'All Unit Testing Your WordPress Code (If You Are)

    5 projects | /r/ProWordPress | 11 Mar 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 2 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source PHPunit projects in PHP? This list will help you:

Project Stars
1 PHPUnit 19,582
2 Mockery 10,569
3 Codeception 4,746
4 php-ddd-example 2,920
5 PHP VCR 1,142
6 doctrine-test-bundle 1,056
7 phpunit-watcher 853
8 phpunit-speedtrap 782
9 wp_mock 658
10 Phake 478
11 bypass-finals 456
12 laravel-vue-crud-starter 393
13 BrainMonkey 289
14 guzzler 269
15 Steward 221
16 phpunit-pretty-print 184
17 PHPUnit-Polyfills 169
18 php-mock-phpunit 161
19 paraunit 134
20 wp-phpunit 77
21 phpunit-architecture-test 71
22 phpunit-injector 61
23 PHP Noise 51

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com