Libraries tagged by assertions
shulard/atoum-xml-extension
17151 Downloads
The atoum xml extension allows you to make assertions on XML files
raiolanetworks/plugin-seo-test
1805 Downloads
This Composer package provides a seamless integration for testing SEO aspects of your Laravel applications. Compatible with both Pest and PHPUnit, it offers a collection of tools and assertions specifically designed to evaluate on-page SEO elements like meta tags, title tags, canonical URLs, and structured data. By automating SEO testing, this plugin ensures that your application consistently adheres to best SEO practices, helping you catch potential SEO issues early in the development cycle.
phptailors/phpunit-inheritance
12982 Downloads
Inheritance assertions for PHPUnit-based tests
phptailors/phpunit-arrays
4142 Downloads
Assertions on arrays for PHPUnit-based tests
mykholy/laravel-failurelab
93 Downloads
Deterministic fault-injection and delivery-replay assertions for Laravel integration tests.
milpa/auth-webauthn
3831 Downloads
Passkey / WebAuthn adapter for the Milpa PHP framework: the lbuchs/webauthn implementation of milpa/auth's WebAuthnVerifier, plus in-memory challenge and credential stores. Ceremony types and contracts live in milpa/auth. A verified assertion mints a session — it is never a per-request transport. Zero framework, zero ORM.
marko/testing
356 Downloads
Testing utilities for the Marko framework - fakes, assertions, and Pest integration
jf/assert
1331 Downloads
PHP Assertions library
graze/hamcrest-test-listener
18256 Downloads
A PHPUnit test listener for the hamcrest assertion library.
eonx-com/test-utils
84358 Downloads
A collection of PHP test utils, assertions stubs and test cases
cspray/assert-throws
266 Downloads
Assertions for PHPUnit when testing code that throws complex exceptions.
bauhaus/dbasserture
14996 Downloads
DB fixture and assertion for integration tests
amashukov/rector-php-rules
2074 Downloads
Opinionated Rector rules for PHP — strict-assertion enforcement, no @phpstan-ignore, no env-checks in src, no superglobals, PSR Clock requirement, no direct DB / event-dispatch / assert() inside functional tests, and a comment-stripper that keeps only PHPStan tag blocks.
vivarium/assertion
42 Downloads
Assertion library useful for catching defects during development.
tkaratug/eloquent-scope-assertion
345 Downloads
Eloquent scope assertion for testing Laravel applications.