jasonmccreary/laravel-test-assertions
Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| draw/tester | 0.89 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.8 | MIT | — | |
| lastdragon-ru/lara-asp-testing | 0.89 | Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| lastdragon-ru/phpunit-extensions | 0.88 | PHPUnit extensions for PHP projects, adding extra test utilities and helpers to streamline assertions, fixtures, and test setup. Designed to integrate cleanly with PHPUnit and improve developer productivity in automated testing workflows. | 0 | 0 | 0 | 33 | 0 | 0.0 | 21.2 | MIT | — | |
| phpunit/phpunit | 0.88 | PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and integrate with CI and code coverage. Install via PHAR or Composer and build reliable PHP applications. | 20,033 | 20,551 | 2,223 | 14M | 21 | 81.4 | 55.8 | BSD-3-Clause | 4 days ago | |
| myqee/test | 0.87 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| imanghafoori/laravel-makesure | 0.87 | — | 21 | 21 | 3 | 124 | 1 | 1.0 | 11.3 | MIT | 2 years ago | |
| digitalrevolution/phpunit-extensions | 0.87 | — | 3 | 3 | 2 | 3K | 1 | 21.7 | 45.2 | MIT | 3 months ago | |
| sofa/eloquent-testsuite | 0.86 | — | 10 | 10 | 2 | 908 | 0 | 2.6 | 26.3 | MIT | 5 years ago | |
| testo/testo | 0.86 | Testo is an extensible PHP testing framework with a lightweight core and middleware system. It lets you fully control your test environment while keeping familiar PHP syntax. Includes an init command, suite/plugin config via testo.php, and Composer scripts. | 190 | 190 | 10 | 3K | 19 | 41.9 | 26.6 | BSD-3-Clause | 1 week ago | |
| loophp/phpunit-iterable-assertions | 0.86 | PHPUnit helper assertions for iterables. Adds convenient, fluent checks for arrays and Traversables to simplify and clarify test expectations when working with generators, collections, and other iterable data sources. | 2 | 2 | 0 | 349 | 1 | 2.7 | 33.8 | MIT | 2 years ago | |
| b2pweb/bdf-phpunit | 0.86 | Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. | 0 | 0 | 0 | 274 | 0 | 0.0 | 33.7 | MIT | — | |
| helmich/phpunit-json-assert | 0.86 | Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. | 129 | 129 | 27 | 77K | 3 | 18.7 | 43.6 | MIT | 3 months ago | |
| sinnbeck/laravel-dom-assertions | 0.85 | Extra DOM assertion helpers for Laravel HTTP tests. Assert elements, text, forms, selects, and datalists with more precision than assertSee/SeeText. Works with Livewire and Blade views/components; includes quick existence checks and a method reference. | 106 | 107 | 11 | 16K | 0 | 30.6 | 35.6 | MIT | 3 days ago | |
| codeception/assert-throws | 0.85 | Adds assertThrows-style assertions to Codeception, letting you easily verify exceptions in tests. Assert the exception type and optionally message/code when running a callable, making negative-path testing clearer and less verbose. | 19 | 19 | 11 | 27K | 1 | 3.6 | 43.1 | MIT | 2 weeks ago | |
| crudly/testly | 0.84 | A simple test package placeholder for crudly/testly. Currently contains minimal scaffolding and documentation (“This is a test”) and may be used for experimentation or as a starting point for future CRUD-related tooling. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| testo/assert | 0.84 | Assertion plugin for the Testo PHP testing framework. Adds a fluent assert/expect facade, expectation lifecycle, and helpers for matching thrown exceptions. Reports comparisons through Testo’s standard pipeline. Install via Composer: testo/assert. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.9 | — | — | |
| adroit11/laravel-tests | 0.84 | Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| atournayre/assert | 0.83 | — | 0 | 0 | 0 | 14 | 1 | 1.3 | 16.2 | MIT | 2 years ago | |
| webmozart/assert | 0.83 | Lightweight PHP assertion library for validating method input/output. Provides fast, readable checks via Webmozart\Assert\Assert with consistent error-message placeholders, throwing InvalidArgumentException on failure. Ideal for safer, less repetitive validation code. | 7,646 | 7,718 | 161 | 12M | 24 | 65.8 | 61.5 | MIT | 4 days ago | |
| beberlei/assert | 0.82 | Lightweight assertion library for validating method arguments and input data in PHP. Provides a fluent, readable API with many built-in rules (string, numeric, email, UUID, collection, etc.), clear exceptions, and easy extensibility for custom constraints. | 2,427 | 2,455 | 186 | 2M | 29 | 57.0 | 64.0 | NOASSERTION | 1 week ago |
How can I help you explore Laravel packages today?