Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpunit Dom Assertions Laravel Package

phpunit/phpunit-dom-assertions

Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components.

Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
phpspec/prophecy-phpunit 0.88 Integrates the Prophecy mocking library with PHPUnit for simpler, cleaner test doubles. Install via Composer and use the ProphecyTrait to call prophesize() inside your TestCase, set method predictions/returns, and reveal mocks for injection. 195 195 39 1M 1 11.7 56.7 MIT 8 months ago
View on GitHub
helmich/phpunit-json-assert 0.88 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 10.8 42.3 MIT 8 months ago
View on GitHub
ssddanbrown/asserthtml 0.87 PHPUnit assertions for testing HTML output. Adds helpers to assert elements exist, contain expected text, or are absent, using CSS selectors with clear failure messages—useful for Laravel feature tests and any PHP suite checking rendered markup. 0 0 — 11K — 0.0 55.3 — —
View on GitHub
stephenjude/api-test-helper 0.87 stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... 47 — 1 — 0 0.3 — MIT 3 years ago
View on GitHub
jasonmccreary/laravel-test-assertions 0.87 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. 349 351 38 140K 2 17.5 38.6 — 7 months ago
View on GitHub
nette/tester 0.87 Nette Tester is a lightweight, enjoyable PHP testing framework with expressive assertions, mocks, code coverage, and parallel test execution. It requires no annotations or complex setup, making it a fast, practical choice for testing PHP projects. 485 495 71 180K 0 33.8 41.6 NOASSERTION 1 week ago
View on GitHub
Context7
symfony/phpunit-bridge 0.87 PHPUnit Bridge adds utilities on top of PHPUnit, with a focus on managing deprecation notices in your test suite. It helps you track, report, and fix deprecations so your code stays compatible with future Symfony and PHP versions. 2,463 2,468 47 4M 0 47.9 52.6 MIT 1 week ago
View on GitHub
codeception/assert-throws 0.87 Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message. 19 19 11 26K 1 15.8 47.6 MIT 5 months ago
View on GitHub
n98/junit-xml 0.87 n98/junit-xml is a lightweight PHP library for building JUnit XML reports. It offers a simple API to define test suites and cases with failures, errors, skipped tests, and timing, making it easy to generate CI-friendly XML output from custom test runners. 16 16 2 99K 0 0.1 52.0 NOASSERTION —
View on GitHub
marcin-orlowski/phpunit-extra-asserts 0.87 A collection of extra assertions for PHPUnit that helps make test suites more expressive and readable. Add clearer, reusable checks for common test scenarios, reduce custom assertion code, and get more informative failures in PHPUnit-based projects. 3 3 0 623 0 0.0 30.3 MIT 2 years ago
View on GitHub
phpstan/phpstan-phpunit 0.87 PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. 546 550 58 6M 34 44.3 79.3 MIT 4 weeks ago
View on GitHub
laravel/browser-kit-testing 0.87 Laravel BrowserKit Testing gives your Laravel apps a fluent API for making HTTP requests, inspecting responses, and filling out forms. Extend the provided TestCase base class and write expressive visit, see, and dontSee tests with no extra setup. 515 518 72 177K 0 20.4 37.3 MIT 7 months ago
View on GitHub
rawr/phpunit-data-provider 0.87 PHPUnit data provider helper for PHP tests. Simplifies building and organizing datasets, supports readable, reusable providers, and makes parameterized tests easier to maintain. Works with PHPUnit to generate cases cleanly and consistently. 66 66 5 29K 2 2.2 36.6 MIT 2 years ago
View on GitHub
sebastian/global-state 0.87 Snapshot and restore PHP global state with sebastian/global-state, the standalone component extracted from PHPUnit. Capture globals, superglobals, static properties, and constants for reliable test isolation. 6,591 6,592 18 24M 1 39.4 54.3 BSD-3-Clause 5 months ago
View on GitHub
robiningelbrecht/phpunit-coverage-tools 0.86 Enforce minimum PHPUnit code coverage using Clover XML reports. Fails the test run with exit code 1 when coverage drops below a threshold—ideal for CI/CD and pre-commit hooks. Configure via phpunit.xml and run with --min-coverage plus --coverage-clover. 17 17 4 33K 1 16.4 49.3 MIT 7 months ago
View on GitHub
Context7
jcergolj/laravel-view-test-assertions 0.86 A Laravel testing package that adds expressive assertions for Blade views, letting you verify rendered output, view data, and components directly in PHPUnit or Pest tests with clean, readable methods instead of brittle checks. 16 16 1 261 2 17.4 19.2 — 1 month ago
View on GitHub
way/phpunit-wrappers 0.86 way/phpunit-wrappers provides lightweight PHPUnit wrapper utilities for Laravel and PHP projects, helping you write cleaner, more readable tests with less boilerplate. Use it to simplify assertions, test setup, and common testing patterns without changing your existing PHPUnit workflow. 45 47 2 66 0 0.3 5.3 — —
View on GitHub
sorge-it/phpunit-pest-html-assertions 0.86 HTML assertion helpers for PHPUnit and Pest. Assert the structure and content of HTML responses with readable, chainable methods instead of brittle string matching, ideal for Laravel feature tests and works with both PHPUnit and Pest suites. 0 — 0 — 0 18.6 — MIT 1 month ago
Context7
lastdragon-ru/lara-asp-testing 0.86 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 75 0 0.0 26.0 MIT —
View on GitHub
draw/tester 0.86 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 1K 0 0.0 43.0 MIT —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core