bovigo/assert
Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zenstruck/assert | 0.83 | Lightweight PHP assertion helpers for cleaner, safer code. zenstruck/assert provides expressive, fluent assertions and value validation with helpful exception messages, improving readability in libraries and Laravel apps without bringing a full testing framework. | 82 | 82 | 5 | 759K | 1 | 15.1 | 59.9 | MIT | 5 months ago | |
| codeception/lib-asserts | 0.82 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 104 | 104 | 5 | 1M | 1 | 19.9 | 61.8 | MIT | 4 months ago | |
| beberlei/assert | 0.81 | 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,426 | 2,457 | 186 | 2M | 29 | 37.1 | 54.1 | NOASSERTION | 1 year ago | |
| codeception/module-asserts | 0.78 | Codeception Asserts module adds rich assertion helpers for your tests, letting you use a wide set of PHPUnit-style assertions directly in Codeception suites. Ideal for unit, functional, and acceptance tests to keep checks readable and failures clear. | 85 | 86 | 10 | 1M | 0 | 16.1 | 60.7 | MIT | 5 months ago |
How can I help you explore Laravel packages today?