NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1965 most downloaded on Packagist
A set of helpful assertions when testing Laravel applications.
Latest stable
v2.9.0
Last release 8 months ago
14 Mar 2026
Release timing varies
gaps range from 2 weeks to 12 months
Most releases are documented
notes for 18 of 23 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
23 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Support PHPUnit 13 by @ollosh-phished in https://github.com/jasonmccreary/laravel-test-assertions/pull/50
Full Changelog: https://github.com/jasonmccreary/laravel-test-assertions/compare/v2.8.0...v2.9.0
Full Changelog: v2.8.0...v2.9.0
Add "now" time helper and assertion in `f1cbfc1`
Your coding agent can read these notes before it upgrades. Set up the MCP server →
f1cbfc1PHPUnit 12 Support in https://github.com/jasonmccreary/laravel-test-assertions/pull/49
Create "stub" file for IDE completion
Add asssertViewHasNull assertion to TestResponse in `933c2d3`
asssertViewHasNull assertion to TestResponse in 933c2d3Removed Drop support for Laravel 10
Added Laravel 12.x Compatibility
## Added * Compatibility with PhpUnit 11
Add assertion to route group middleware in #44
### Added - Support for Laravel 10
Take excluded_middleware into account for middleware assertions
excluded_middleware into account for middleware assertions (#38)Support for PHP 8 and Laravel 9
This is a superficial major version release. It marks the adoption of a new _Support Policy_ by dropping support for old versions of Laravel (currentl
This is a superficial major version release. It marks the adoption of a new Support Policy by dropping support for old versions of Laravel (currently 6.x, 7.x). There are no changes to functionality or underlying code other than requiring the latest stable version of Laravel (currently 8.x).
This also removes the assertNotSoftDeleted assertion in favor of using the native assertNotSoftDeleted added in Laravel 8.62. As the first parameter matches, no code changes are required.
assertJsonTypedStructure to verify data type of values
assertJsonTypedStructure to verify data type of values (#19)assertRouteUsesMiddleware assertion (#23)assertNotSoftDeleted assertion (#28)This marks the 1.0 release as I finalized the trait naming.
This marks the 1.0 release as I finalized the trait naming.
Please note, if you were using this package before, you will need to rename all uses of the HttpTestAssertions trait to AdditionalAssertions.
HttpTestAssertions trait was renamed to AdditionalAssertionsNothing published for this version
Nothing published for this version
Nothing published for this version
Includes the following new assertions. Review the Assertions section of the README for documentation.
Includes the following new assertions. Review the Assertions section of the README for documentation.
assertRouteUsesFormRequestassertValidationRulesassertExactValidationRulesassertValidationRuleContainsAdds assertActionUsesMiddleware to verify a controller action is using a middleware or set of middleware.
Adds assertActionUsesMiddleware to verify a controller action is using a middleware or set of middleware.
Add custom Mockery argument matchers for common Laravel types including _models_, _collections_, and _Eloquent_ collections.
Add custom Mockery argument matchers for common Laravel types including models, collections, and Eloquent collections.
Nothing published for this version
Nothing published for this version
One column per quarter.