PHP Mocking Framework

Phake Phake is a framework for PHP that aims to provide mock objects, test doubles and method stubs. Phake was inspired by a lack of flexibility and ease of use in the current mocking frameworks combined with a recent exp
Information
Category: PHP / Testing
Watchers: 23
Star: 456
Fork: 88
Last update: Oct 21, 2021

Related Repos


33

recca0120 it can run async request in laravel feature testing
 
20

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

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

AndreasElia Generate a Postman collection automatically from your Laravel API
 
1.1k

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

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

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

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.
 
48

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).
 
18

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

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

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.
 
Popular
8k

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

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 phpunit 8.1
 
451

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, add followi