Phpunit Open Source Projects

Browse 159 Phpunit open source projects, ranked by GitHub stars. Find the most popular Phpunit tools and libraries.

Share your experience:✍️ Write a Post❓ Ask a Question
1-60 of 159 projects
22,187 stars

DesignPatternsPHP/DesignPatternsPHP

Sample code for several design patterns in PHP 8.x

Metrics details
Stars22,187
20,041 stars

sebastianbergmann/phpunit

The PHP Unit Testing framework.

Metrics details
Stars20,041
10,724 stars

mockery/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).

Metrics details
Stars10,724
8,933 stars

sebastianbergmann/php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

Metrics details
Stars8,933
7,744 stars

sebastianbergmann/php-timer

Utility class for timing

Metrics details
Stars7,744
7,658 stars

sebastianbergmann/diff

Diff implementation

Metrics details
Stars7,658
6,606 stars

sebastianbergmann/global-state

Snapshotting of global state, factored out of PHPUnit into a stand-alone component

Metrics details
Stars6,606
6,386 stars

sebastianbergmann/php-token-stream

Wrapper around PHP's tokenizer extension.

Metrics details
Stars6,386
5,203 stars

php-webdriver/php-webdriver

PHP client for Selenium/WebDriver protocol. Previously facebook/php-webdriver

Metrics details
Stars5,203
4,858 stars

Codeception/Codeception

Full-stack testing PHP framework

Metrics details
Stars4,858
4,652 stars

nunomaduro/collision

💥 Collision is a beautiful error reporting tool for command-line applications

Metrics details
Stars4,652
3,145 stars

CodelyTV/php-ddd-example

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

Metrics details
Stars3,145
3,066 stars

symfony/panther

A browser testing and web crawling library for PHP and Symfony

Metrics details
Stars3,066
2,851 stars

doctrine/data-fixtures

Doctrine2 ORM Data Fixtures Extensions

Metrics details
Stars2,851
2,660 stars

klein/klein.php

A fast & flexible router

Metrics details
Stars2,660
2,482 stars

paratestphp/paratest

:computer: Parallel testing for PHPUnit

Metrics details
Stars2,482
2,467 stars

symfony/phpunit-bridge

Provides utilities for PHPUnit, especially user deprecation notices management

Metrics details
Stars2,467
2,179 stars

guanguans/notes

:notebook_with_decorative_cover: Linux、MySQL、Nginx、PHP、Git、Shell 等笔记

Metrics details
Stars2,179
1,984 stars

j4mie/idiorm

A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.

Metrics details
Stars1,984
1,351 stars

sebastianbergmann/php-invoker

Invoke PHP callables with a timeout

Metrics details
Stars1,351
1,325 stars

Seldaek/jsonlint

JSON Lint for PHP

Metrics details
Stars1,325
1,318 stars

jakzal/phpqa

Docker image that provides static analysis tools for PHP

Metrics details
Stars1,318
1,208 stars

php-vcr/php-vcr

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

Metrics details
Stars1,208
1,206 stars

topclaudy/compoships

Multi-columns relationships for Laravel's Eloquent ORM

Metrics details
Stars1,206
1,204 stars

sarven/unit-testing-tips

Unit testing tips by examples in PHP

Metrics details
Stars1,204
1,193 stars

mikeerickson/phpunit-pretty-result-printer

PHPUnit Pretty Result Printer -- make your PHPUnit tests look pretty!

Metrics details
Stars1,193
1,185 stars

dmaicher/doctrine-test-bundle

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

Metrics details
Stars1,185
1,067 stars

range-of-motion/budget

Get a grip on your finances.

Metrics details
Stars1,067
1,056 stars

loklak/loklak_php_api

The PHP Library for accessing loklak.org

Metrics details
Stars1,056
922 stars

VisualPHPUnit/VisualPHPUnit

A PHPUnit GUI.

Metrics details
Stars922
875 stars

spatie/phpunit-watcher

A tool to automatically rerun PHPUnit tests when source code changes

Metrics details
Stars875
844 stars

coduo/php-matcher

The easiest way to match data structures like JSON/PlainText/XML against readable patterns. Sandbox:

Metrics details
Stars844
809 stars

alaouy/Youtube

🔥 Laravel PHP Facade/Wrapper for the Youtube Data API

Metrics details
Stars809
805 stars

luyadev/luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.

Metrics details
Stars805
783 stars

johnkary/phpunit-speedtrap

Reports on slow-running tests in your PHPUnit test suite

Metrics details
Stars783
772 stars

KnpLabs/knp-components

Various component pack, includes paginator

Metrics details
Stars772
760 stars

FireLustre/php-dfa-sensitive

:see_no_evil: 实现过滤敏感词汇:underage:,基于确定有穷自动机(DFA)算法,支持composer安装扩展

Metrics details
Stars760
716 stars

antonioribeiro/tddd

A Laravel Continuous Integration Package

Metrics details
Stars716
710 stars

10up/wp_mock

WordPress API Mocking Framework

Metrics details
Stars710
696 stars

spatie/phpunit-snapshot-assertions

A way to test without writing actual test cases

Metrics details
Stars696
693 stars

ThomasBerends/symfony-certification-preparation-list

List of topic-specific resources to help you prepare for Symfony certification

Metrics details
Stars693
669 stars

bruli/php-git-hooks

Git hooks for PHP projects

Metrics details
Stars669
656 stars

willdurand/JsonpCallbackValidator

JSONP callback validator.

Metrics details
Stars656
636 stars

guzzle/streams

[DEPRECATED] Provides a simple abstraction over streams of data

Metrics details
Stars636
608 stars

xPaw/PHP-Source-Query

🐘 PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)

Metrics details
Stars608
594 stars

mavinoo/laravelBatch

insert batch and update batch in laravel

Metrics details
Stars594
586 stars

kenjis/ci-phpunit-test

An easier way to use PHPUnit with CodeIgniter 3.x.

Metrics details
Stars586
573 stars

dg/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.

Metrics details
Stars573
535 stars

phpstan/phpstan-phpunit

PHPUnit extensions and rules for PHPStan

Metrics details
Stars535
515 stars

php-coveralls/php-coveralls

PHP client library for Coveralls API.

Metrics details
Stars515
511 stars

minkphp/MinkSelenium2Driver

Selenium2 (webdriver) driver for Mink framework

Metrics details
Stars511
502 stars

Roave/no-leaks

:potable_water: PHPUnit Plugin for detecting Memory Leaks in code and tests

Metrics details
Stars502
497 stars

moell-peng/mojito

Mojito Admin — 基于 Laravel, Vue3, Element Plus构建的后台管理系统

Metrics details
Stars497
487 stars

nette/tester

Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏

Metrics details
Stars487
476 stars

phake/phake

PHP Mocking Framework

Metrics details
Stars476
473 stars

laracasts/Integrated

Simple, intuitive integration testing with PHPUnit.

Metrics details
Stars473
456 stars

thebuggenie/thebuggenie

The Bug Genie was a friendly project management and issue tracking tool, now replaced by Pachno

Metrics details
Stars456
440 stars

giorgiosironi/eris

Eris is a porting of Quickcheck and property-based testing tools to the PHP and PHPUnit ecosystem.

Metrics details
Stars440
432 stars

AnowarCST/laravel-vue-crud-starter

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

Metrics details
Stars432
412 stars

lchrusciel/ApiTestCase

Handy PHPUnit test case for testing JSON APIs in your Symfony applications.

Metrics details
Stars412
1-60 of 159 projects
Get A Weekly Email With Trending Phpunit Projects
Stay updated on Phpunit plus related topics you pick below.

Copyright 2018-2026 Awesome Open Source.  All rights reserved.