spatie/tabular-assertions
Write readable “tabular assertions” for Pest or PHPUnit by describing expected data as a Markdown-like table and comparing it to actual arrays/collections. Ideal for ordered datasets like time series, financials, or database rows, with clear diffs.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/pest-expectations | 0.87 | Add expressive, chainable expectations to Pest tests with Spatie’s helpers. Provides handy assertion-style methods for cleaner, more readable tests, letting you validate values, types, strings, arrays, and more with minimal boilerplate. | 79 | 78 | 4 | 7K | 0 | 21.8 | 30.1 | MIT | 3 months ago | |
| draw/data-tester | 0.83 | Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 8 years ago | |
| pestphp/pest | 0.82 | Pest is an elegant PHP testing framework focused on simplicity and a joyful developer experience. Write expressive tests with a clean syntax, run fast suites, and scale from tiny projects to large apps. Full docs at pestphp.com. | 11,508 | 11,495 | 475 | 4M | 143 | 90.4 | 67.9 | MIT | 1 month ago | |
| digitalrevolution/accessorpair-constraint | 0.82 | PHPUnit helper to automatically test and cover getters/setters (and constructor-to-getter pairs) on data classes. Add the AccessorPairAsserter trait and call assertAccessorPairs() to validate accessor pairs, optional default/initial value checks. | 9 | 10 | 10 | 3K | 1 | 28.6 | 40.3 | MIT | 3 weeks ago | |
| draw/tester | 0.82 | 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 | — | |
| sampoyigi/testbench | 0.82 | Laravel testbench helpers for package development: quickly boot a minimal app, configure service providers, run migrations, and write reliable integration tests. Lightweight scaffolding to speed up local CI-style testing for your Laravel packages. | 0 | 0 | 0 | 376 | 0 | 10.9 | 38.6 | — | 6 months ago | |
| lastdragon-ru/phpunit-extensions | 0.81 | 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 | 0 | 0 | 0.0 | — | MIT | — | |
| testo/assert | 0.81 | 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 | 2K | 0 | 0.0 | 43.6 | — | — | |
| spatie/phpunit-snapshot-assertions | 0.81 | Add snapshot testing to PHPUnit. Assert strings, JSON, arrays, and objects against saved snapshots; first run writes snapshots, later runs compare and fail on regressions. Simple trait-based API (e.g., assertMatchesJsonSnapshot) for PHP and Laravel projects. | 695 | 698 | 74 | 579K | 0 | 33.4 | 46.9 | MIT | 1 month ago | |
| sinnbeck/laravel-dom-assertions | 0.81 | Add fluent, expressive DOM assertions to your Laravel test suite. Parse HTML responses and assert elements, attributes, text, and structure with readable APIs—making feature and browser-style tests clearer and less brittle. | 106 | 106 | 10 | 15K | 0 | 29.6 | 34.8 | MIT | 2 weeks ago | |
| codenco-dev/eloquent-model-tester | 0.81 | Laravel dev-only helper to test Eloquent models: verify table structure/columns, fillable vs guarded attributes, and model relationships. Works with PHPUnit and model factories, integrates easily in your model test classes. | 20 | 20 | 1 | 205 | 2 | 24.8 | 16.6 | MIT | 4 weeks ago | |
| atlas/testing | 0.80 | Atlas.Testing provides lightweight helpers and utilities for testing Atlas packages, aimed at simplifying test setup and improving consistency across Atlas-related projects. Suitable for package authors who need reusable testing support. | 1 | 1 | 1 | 17 | 0 | 2.4 | 13.8 | MIT | 5 years ago | |
| spatie/pest-plugin-snapshots | 0.80 | Adds snapshot testing to Pest via Spatie’s snapshot assertions. Compare strings or JSON against stored snapshots with helper functions or Pest expectations. Ideal for stable output/regression testing in PHP projects. | 39 | 39 | 11 | 47K | 0 | 21.6 | 48.6 | MIT | 1 month ago | |
| spatie/pest-plugin-route-testing | 0.80 | Pest plugin for Laravel that automatically tests all your app’s GET routes. Run a single test to assert responses are successful, redirects, forbidden, not found, etc. Filter routes by pattern and provide models for route model bindings via bind(). | 138 | 137 | 6 | 6K | 0 | 9.0 | 23.5 | MIT | 9 months ago | |
| symfonycasts/internal-test-helpers | 0.80 | Internal test utilities from SymfonyCasts to streamline PHPUnit and Symfony/Laravel package testing. Provides shared helpers, fixtures, and assertions used across SymfonyCasts projects to reduce boilerplate and keep tests consistent and readable. | 0 | — | 2 | — | 0 | 0.1 | — | — | — | |
| spatie/tax-calculator | 0.80 | Interfaces and helpers to simplify tax calculations in PHP. Use TaxCalculation with plain numbers or items implementing HasTax to compute base, tax, and total prices, and combine calculations (e.g., cart items + delivery) on the fly. | 80 | 82 | 12 | 435 | 0 | 1.1 | 11.1 | MIT | 4 years ago | |
| b2pweb/bdf-phpunit | 0.80 | 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 | 197 | 0 | 0.0 | 31.7 | MIT | — | |
| myqee/test | 0.80 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| contributte/tester | 0.80 | Contributte Tester integrates Nette Tester into your project with a ready-to-use setup and tooling. Install via Composer and follow the included docs to run and manage automated tests on PHP 8.2+ with Nette 3.2+. | 2 | 3 | 2 | 5K | 1 | 14.2 | 49.3 | MIT | 4 months ago | |
| lastdragon-ru/lara-asp-testing | 0.79 | 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 | — |
How can I help you explore Laravel packages today?