sinnbeck/laravel-dom-assertions
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sampoyigi/testbench | 0.83 | 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 | 754 | 0 | 8.1 | 42.3 | — | 8 months ago | |
| symfonycasts/internal-test-helpers | 0.83 | 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 | — | — | — | |
| 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 | |
| lastdragon-ru/phpunit-xml | 0.83 | Tools for working with PHPUnit’s XML configuration: parse, build, and validate phpunit.xml files programmatically. Useful for CI automation, config generation, and upgrades/migrations between PHPUnit versions, with a focused API designed for PHP projects. | 0 | 0 | 0 | 25 | 0 | 0.0 | 19.5 | MIT | — | |
| codenco-dev/eloquent-model-tester | 0.83 | 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 | 230 | 2 | 21.6 | 16.9 | MIT | 2 months 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,431 | 2,457 | 187 | 2M | 30 | 54.9 | 63.9 | NOASSERTION | 1 month ago | |
| testo/testo | 0.82 | 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. | 203 | 203 | 12 | 10K | 18 | 41.0 | 37.7 | BSD-3-Clause | 1 month ago | |
| jasonmccreary/laravel-test-assertions | 0.82 | 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. | 351 | 351 | 36 | 131K | 2 | 23.6 | 39.7 | — | 4 months ago | |
| atournayre/assert | 0.82 | — | 0 | 0 | 0 | 23 | 1 | 1.3 | 19.0 | MIT | 3 years ago | |
| testo/assert | 0.82 | 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 | 6K | 0 | 0.0 | 51.8 | — | — | |
| digitalrevolution/accessorpair-constraint | 0.81 | 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 | 25.2 | 38.8 | MIT | 2 months ago | |
| webmozart/assert | 0.81 | 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,651 | 7,721 | 164 | 13M | 24 | 63.4 | 61.3 | MIT | 1 month ago | |
| draw/tester | 0.81 | 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 | 818 | 0 | 0.0 | 40.2 | MIT | — | |
| codeception/assert-throws | 0.81 | 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 | 21.5 | 50.1 | MIT | 2 months ago | |
| spatie/tabular-assertions | 0.81 | 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. | 59 | 59 | 0 | 18K | 0 | 0.9 | 34.2 | MIT | 2 years 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 | 33 | 0 | 0.0 | 21.2 | MIT | — | |
| contributte/tester | 0.81 | 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 | 3K | 1 | 11.4 | 44.8 | MIT | 6 months ago | |
| zenstruck/dom | 0.81 | Zenstruck DOM is a tiny PHP/Laravel-friendly library for working with HTML/XML DOM. It offers a simple, fluent API to query, traverse, and manipulate nodes, making scraping, testing, and HTML transformations easier than using raw DOMDocument/DOMXPath. | 5 | 5 | 3 | 649 | 0 | 0.4 | 29.9 | MIT | — | |
| helmich/phpunit-json-assert | 0.80 | 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. | 130 | 130 | 27 | 92K | 3 | 16.0 | 43.6 | MIT | 5 months ago | |
| lastdragon-ru/lara-asp-testing | 0.80 | 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?