spatie/phpunit-snapshot-assertions
Add snapshot testing to PHPUnit. Save expected output (JSON, arrays, strings, etc.) on first run and automatically compare on later runs to catch regressions with minimal assertions. Includes handy traits and snapshot update workflow for tests.
|
Package
|
Constraint
|
|---|---|
| phpunit/phpunit | ^9.6|^10.0|^11.0|^12.0|^13.0 |
| symfony/property-access | ^5.2|^6.2|^7.0|^8.0 |
| symfony/serializer | ^5.2|^6.2|^7.0|^8.0 |
| symfony/yaml | ^5.2|^6.2|^7.0|^8.0 |
|
Package
|
Constraint
|
|---|---|
| spatie/pixelmatch-php | dev-main |
| spatie/ray | ^1.37 |
How can I help you explore Laravel packages today?