rybakit/phpunit-extras
Extend PHPUnit with custom annotations, placeholders, requirements, and expectations. Build and integrate your own @tags, version/package/expression-based requirements, and reusable expectation helpers. Optional support for composer/semver, package-versions, and symfony/expression-language.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpcr/phpcr-utils | 0.83 | Utility library for PHPCR (PHP Content Repository) implementations. Provides helper classes for sessions, node/paths handling, query utilities, and common repository operations to simplify working with PHPCR backends in your applications. | 74 | 74 | 30 | 35K | 14 | 19.5 | 42.7 | NOASSERTION | 11 months ago | |
| php-http/client-integration-tests | 0.83 | Integration test suite for PHP HTTP clients and adapters. Provides a shared test server and PHPUnit testsuite so you can verify that your client correctly implements the PSR-18 and HTTPlug contracts against real HTTP requests. | 16 | 17 | 10 | 555 | 1 | 19.6 | 23.7 | MIT | 4 months ago | |
| gabrielbull/ups-api | 0.83 | PHP library wrapping UPS APIs (Quantum View, Tracking, Shipping, Rating, Time in Transit, Address Validation) with simple classes and examples. Helps fetch rates, create shipments, validate addresses, and track packages. | 455 | 464 | 256 | 40K | 35 | 30.8 | 43.0 | MIT | 4 years ago | |
| codeception/lib-asserts | 0.83 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 105 | 105 | 5 | 2M | 1 | 12.3 | 58.0 | MIT | 9 months ago | |
| php-mock/php-mock-phpunit | 0.82 | 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. | 173 | 176 | 20 | 236K | 4 | 28.3 | 51.3 | WTFPL | 1 month ago | |
| phpspec/phpspec | 0.82 | phpspec is a BDD-style testing and specification framework for PHP inspired by RSpec. Write executable specs that describe how your objects should behave, drive design from the outside in, and get fast feedback with no database or web server required. | 1,903 | 1,946 | 285 | 255K | 136 | 72.8 | 62.5 | NOASSERTION | 1 week ago | |
| graham-campbell/testbench | 0.82 | Laravel TestBench by Graham Campbell provides testing functionality for Laravel packages, built on PHPUnit, Mockery, Orchestral Testbench, and Laravel Testbench Core. Supports PHP 7.4-8.5, PHPUnit 9-11, and Laravel 8-13. | 0 | 51 | — | 4K | — | 9.3 | 50.1 | — | — | |
| splash/phpcore | 0.82 | — | 3 | 3 | 5 | 529 | 0 | 3.6 | 29.4 | MIT | 6 years ago | |
| phpmetrics/phpmetrics | 0.82 | PhpMetrics is a static analysis tool for PHP that computes metrics for projects and classes and generates beautiful, readable HTML reports. Install it via Composer, run the binary against any folder, and explore complexity, maintainability, and quality insights right in your browser. | 2,617 | 2,620 | 261 | 444K | 2 | 46.4 | 35.8 | MIT | 2 months ago | |
| orchestra/testbench-core | 0.82 | Testbench Core is a testing framework for Laravel package development. It boots a Laravel application inside your package repository, letting tests run Artisan commands, migrations, factories, and routes, with releases matching Laravel 6 through 13. | 0 | 276 | — | 3M | — | 15.0 | 55.3 | — | — | |
| phpunitgoodpractices/polyfill | 0.82 | Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades. | 11 | 11 | 1 | 8K | 6 | 2.1 | 28.5 | MIT | 3 years ago | |
| codeception/assert-throws | 0.82 | Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message. | 19 | 19 | 11 | 26K | 1 | 15.8 | 47.6 | MIT | 5 months ago | |
| codeception/lib-xml | 0.82 | XML utilities for Codeception tests. Provides helpers to load, parse, query, and assert XML/HTML content in a clean, test-friendly API. Useful for validating SOAP responses, RSS feeds, and markup fragments with expressive assertions and convenient matchers. | 17 | 17 | 1 | 584K | 2 | 4.0 | 55.9 | MIT | 11 months ago | |
| spatie/phpunit-snapshot-assertions | 0.81 | Snapshot testing for PHPUnit: assert values match stored snapshots for JSON, strings, arrays, and more. Snapshots are created automatically on first run and compared on subsequent runs. | 698 | 702 | 76 | 991K | 0 | 24.5 | 47.2 | MIT | 6 months ago | |
| codeception/verify | 0.81 | Tiny BDD-style assertion wrapper for PHPUnit/Codeception. Use verify() and Verify::Array/Callable for readable, chainable expectations like equals, contains, greater/less, true/false/null, empty/notEmpty, throws/doesNotThrow—closer to natural language. | 146 | 149 | 26 | 172K | 1 | 15.2 | 44.8 | MIT | 8 months ago | |
| codeception/stub | 0.81 | Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations. | 301 | 302 | 19 | 1M | 7 | 22.0 | 57.4 | MIT | 9 months ago | |
| covergenius/phpunit-testlistener-vcr | 0.81 | PHPUnit test listener that records and replays HTTP interactions using a VCR-style approach. Capture real API responses into cassettes during tests, then replay them for fast, deterministic runs without hitting external services. | 3 | 3 | 2 | 1K | 0 | 2.5 | 34.6 | MIT | 1 year ago | |
| j0k3r/php-readability | 0.81 | PHP library that extracts the main readable content and title from web pages. Based on an improved full-text-rss Readability fork, it offers namespaced code, simple tests, optional Tidy HTML cleanup, and PSR-3 logging for debugging parsing issues. | 184 | 190 | 38 | 38K | 5 | 26.8 | 38.6 | Apache-2.0 | 3 months ago | |
| liip/functional-test-bundle | 0.80 | Symfony bundle providing base classes and helpers for functional tests, plus a DI-aware mock builder for unit tests. Includes tools for command testing, logged clients, query counting, examples, and parallel test runs. | 646 | 654 | 179 | 123K | 42 | 40.2 | 50.0 | MIT | 6 months ago | |
| overtrue/phplint | 0.80 | PHPLint is a fast PHP linting tool that runs multiple lint processes in parallel, speeding up code checks for large projects. Install via Composer, PHAR, Docker, or Phive, and configure it to fit your workflow. | 1,021 | 1,028 | 95 | 372K | 2 | 37.8 | 41.3 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?