Sample code for several design patterns in PHP 8.x
Repository Index
47,133 repositories indexed
1–12 of 12 · Most stars
The PHP Unit Testing framework.
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).
Full-stack testing PHP framework
vfsStream is a stream wrapper for a virtual file system that may be helpful in unit tests to mock the real file system. It can be used with any unit test framework, like PHPUnit or SimpleTest.
💀 PHP unused code detection via PHPStan extension. Detects dead cycles, supports libs like Laravel, Symfony, Twig, Doctrine, PHPUnit etc. Can automatically remove dead PHP code. Able to detect dead code used only in tests. Finds unused methods, constants, properties and enum cases.
Tester: enjoyable unit testing in PHP with code coverage reporter. 🍏🍏🍎🍏
PHP Mocking Framework
Playwright PHP library for browser automation: navigation, E2E tests, assertions, screenshots, and so much more!
PHP libraries that makes Selenium WebDriver + PHPUnit functional testing easy and robust
Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests
A lot of ways to you set your assert as true