ssddanbrown/asserthtml
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sorge-it/phpunit-pest-html-assertions | 0.84 | 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 | |
| phpunit/phpunit-dom-assertions | 0.83 | 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. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| sinnbeck/laravel-dom-assertions | 0.81 | Extra DOM assertion helpers for Laravel HTTP tests, giving you finer control than assertSee and friends: assert on elements, forms, selects, datalists, and text, with quick existence checks and Livewire/Blade support. | 105 | 107 | 12 | 19K | 0 | 31.4 | 36.5 | MIT | 1 week ago | |
| phpstan/phpstan-webmozart-assert | 0.80 | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 185 | 185 | 33 | 639K | 5 | 12.3 | 50.1 | MIT | 1 year ago | |
| phpgt/dom | 0.80 | A modern DOM API for PHP built on the native DOMDocument, giving you browser-style, standardised object-oriented DOM manipulation server-side. Treat HTML files as templates and ready-process pages for browsers, webservers and CDNs. | 124 | 126 | 29 | 293K | 2 | 30.2 | 54.2 | MIT | 1 month ago |
How can I help you explore Laravel packages today?