ta-tikoma/phpunit-architecture-test
Architecture testing for PHP projects using PHPUnit. Define and enforce dependency, namespace, and layer rules (e.g., no forbidden coupling, keep domains isolated) and catch architectural violations in CI with fast, expressive tests.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| eliashaeussler/phpunit-attributes | 0.83 | PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows. | 4 | 4 | 1 | 1K | 1 | 24.6 | 38.7 | GPL-3.0 | 1 month ago | |
| wyrihaximus/test-utilities | 0.82 | Shared test utilities for PHP projects: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-to-use PHPStan defaults and a preconfigured RectorConfig for common project layouts and doc-tag to attribute conversions. | 7 | 7 | 1 | 36K | 6 | 31.8 | 64.6 | MIT | 4 days ago | |
| phpstan/phpstan-phpunit | 0.82 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 527 | 531 | 56 | 3M | 33 | 44.1 | 78.9 | MIT | 1 month ago | |
| phpunitgoodpractices/traits | 0.82 | A small set of PHP traits to improve PHPUnit test code by reducing boilerplate and encouraging cleaner, reusable assertions and setup patterns. Useful for Laravel and general PHP projects that want more readable, maintainable tests. | 22 | 22 | 2 | 15K | 3 | 12.6 | 46.6 | MIT | 3 years ago | |
| phpunit/php-code-coverage | 0.81 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Use it to start/stop coverage during tests, filter included files, and generate reports such as OpenClover XML from live runs or serialized coverage data. | 8,932 | 8,978 | 386 | 13M | 20 | 72.4 | 59.8 | BSD-3-Clause | 6 days ago | |
| illuminate/testing | 0.81 | Laravel’s Illuminate Testing package provides the core testing helpers used by the framework—HTTP and console test utilities, assertions, test case scaffolding, and support traits—making it easier to write fast, expressive PHPUnit tests for Laravel applications and packages. | 33 | 33 | 10 | 292K | 0 | 0.5 | 54.3 | MIT | — | |
| simpletest/simpletest | 0.80 | SimpleTest is a PHP unit testing framework with web site testing and mock objects. Install via Composer (simpletest/simpletest) for PHP 7.1+ and run its own unit and acceptance test suites; issues and community support via GitHub and Stack Overflow. | 149 | 153 | 48 | 2K | 3 | 24.5 | 18.7 | LGPL-2.1 | 6 months ago | |
| phperf/phpunit | 0.79 | phperf/phpunit is a lightweight PHPUnit extension aimed at profiling and performance measurement during test runs. Add simple hooks to capture timing and resource usage so you can spot slow tests and track performance regressions over time. | 0 | 0 | 0 | 68 | 0 | 20.9 | 29.9 | NOASSERTION | 3 years ago | |
| symplify/easy-testing | 0.79 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 29K | 0 | 0.1 | 27.7 | MIT | — | |
| phpunit/phpunit | 0.79 | PHPUnit is the leading unit testing framework for PHP, based on the xUnit architecture. Run tests from a bundled PHAR or install via Composer, with CI and code coverage support to help keep your code reliable. | 20,013 | 20,525 | 2,233 | 13M | 59 | 88.0 | 72.7 | BSD-3-Clause | 1 day ago | |
| spatie/phpunit-snapshot-assertions | 0.78 | Add snapshot testing to PHPUnit with simple assertions for JSON, XML, and text. First run creates snapshots; later runs compare outputs and fail on regressions. Ideal for verifying serialized data and responses with minimal test boilerplate. | 695 | 699 | 77 | 608K | 1 | 34.9 | 47.8 | MIT | 1 month ago | |
| phpunit/phpcov | 0.76 | phpcov is a CLI frontend for php-code-coverage. It merges PHPUnit --coverage-php .cov files from parallel or split runs and generates combined reports (HTML, Clover, etc.) or exports merged data back to a .cov file. | 236 | 241 | 57 | 532K | 0 | 2.9 | 46.3 | BSD-3-Clause | — | |
| php-mock/php-mock-phpunit | 0.72 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 171 | 174 | 20 | 230K | 3 | 28.5 | 51.3 | WTFPL | 2 months ago | |
| sanmai/phpunit-double-colon-syntax | 0.71 | PHPUnit extension that adds support for “double colon” syntax in tests, improving readability when referencing classes and methods. Lightweight and focused, it helps you write clearer PHPUnit test code with a familiar static-style notation. | 0 | 0 | 0 | 927 | 0 | 21.2 | 48.7 | BSD-3-Clause | 7 months ago |
How can I help you explore Laravel packages today?