Libraries for testing codebases and generating test data.

Newest releases

voduytuan httpdock Very simple mock HTTP Server for testing Restful API, running via Docker. Start Server Starting this server via command: docker run -ti -d -p

lmc-eu Steward: easy and robust testing with Selenium WebDriver + PHPUnit Steward is a set of libraries made to simplify writing and running robust functiona

ergebnis data-provider Installation Run composer require --dev ergebnis/data-provider Usage This package provides the following generic data providers: Ergebni

carlosas Easy to use architecture testing tool for PHP ⚠ PHP 8 supported temporarily in the package version v0.8.x-dev Introduction 📜 PHP Architecture Tester

infection Infection - Mutation Testing framework Please read documentation here: infection.github.io Twitter: @infection_php Discord: https://discord.gg/ZUmyHTJ

claudiodekker inertiajs/inertia-laravel Testing Helpers NOTE: This package WILL be deprecated once ANY official testing helpers become available in inertiajs/inerti

recca0120 it can run async request in laravel feature testing

slope-it ClockMock provides a way for mocking the current timestamp used by PHP for \DateTime(Immutable) objects and date/time related functions.

rialto-php A Puppeteer bridge for PHP, supporting the entire API.

AndreasElia Generate a Postman collection automatically from your Laravel API

ssl ezXSS is an easy way for penetration testers and bug bounty hunters to test (blind) Cross Site Scripting.

stephenjude A collection of helper methods for testing and debugging API endpoints.

BadApple9 speedtest-x 使用文件数据库来保存来自不同用户的测速结果,方便您查看全国不同地域与运营商的测速效果。

arryanggaputra This Shop Directory project was built for the purpose of testing the modern monolith architecture that is quite popular today, the stacks used for this project are Laravel, InertiaJS, ReactJS, TypeScript, and TailwindCSS.

mattiasgeniar A custom assertion for phpunit that allows you to count the number of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).

Roave Static analysis on top of mutation testing - prevents escaped mutants from being invalid according to static analysis

pestphp Pest is an elegant PHP Testing Framework with a focus on simplicity. It was carefully crafted to bring the joy of testing to PHP.

sebastianbergmann SebastianBergmann\CodeCoverage SebastianBergmann\CodeCoverage is a library that provides collection, processing, and rendering functionality for PHP code coverage information. Installation You c

nunomaduro Pest was created by, and is maintained by Nuno Maduro and is an enjoyable PHP testing solution. Works out of the box for any PHPUnit project. 🚀 Installation & Usage Requires PHP 7.2+ and p

laravel Introduction Laravel Dusk provides an expressive, easy-to-use browser automation and testing API. By default, Dusk does not require you to install JDK or Selenium on your machine. Instead, Dusk uses a sta

Roave roave/no-leaks This library is a PHPUnit plugin that detects memory leaks in tested code or tests. Installation composer require --dev roave/no-leaks Usage In your phpunit.xml configuration, a

beyondcode Laravel Dusk Dashboard A beautiful dashboard for your Dusk test suites. Installation You can install the package via composer: composer require beyondcode/dusk-dashboard --dev Next up, you need to

spatie PHP Selenium client Selenium is a great tool for testing. This package gives you a boilerplate setup to automate UI testing tasks you'd do manually otherwise. For example: you can make a scenario to test the flow of a

beyondcode Laravel Visual Diff This package can create a visual diff of two screenshots of your Laravel application. It works for both - regular HTTP tests, as well as tests using Laravel Dusk. Behind the scenes, it uses Pixe

zabaala Laravel pre-commit A Laravel package to analyze your PHP code and check your PHPUnit tests before commit your code. Requirements PHP >= 7.0.0 phpunit/phpunit ~6.0 squizlabs/php_codesniffer ~6.0

mikeerickson CD PHPUnit Pretty Result Printer Version 0.27 Extend the default PHPUnit Result Printer with a modern, pretty printer! 📦 PHPUnit Pretty Result Printer -- Packagist Installation Installation is pro

matthiasnoback Live code coverage This library should help you generate code coverage reports on a live server (it doesn't have to be a production server of course). Install this library using: composer require matthiasnoback/li

antonioribeiro TDDD - Test Driven Development Dashboard A Self-Hosted TDD Dashboard & Tests Watcher What is it? TDD Dashboard, is an app (built as a Laravel PHP package) to watch and run all your tests

spatie Automatically rerun PHPUnit tests when source code changes Wouldn't it be great if your PHPUnit tests would be automatically rerun whenever you change some code? This package can do exactly that. With the package

php-mock PHP-Mock: mocking built-in PHP functions PHP-Mock is a testing library which mocks non deterministic built-in PHP functions like time() or rand(). This is achieved by PHP's namespace fallback policy: PHP will fall b

jwage PHPChunkit PHPChunkit is a library that sits on top of PHPUnit and adds additional functionality to make it easier to work with large unit and functional test suites. The primary feature is test chunking and databas

kahlan Kahlan is a full-featured Unit & BDD test framework a la RSpec/JSpec which uses a describe-it syntax and moves testing in PHP one step forward. Kahlan lets you stub or monkey patch your code directly like in Rub