zenstruck/assert
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.
f555461 chore: allow Symfony 8 (#29) by @nikophil
aef1082 minor: fix test deprecations (#28) by @kbond 0653be7 chore: keep releases lean (#27) by @raphaelstolt
2fc6d06 minor: allow Symfony 7.0 (#26) by @kbond
a1c6501 [feature] ArraySubsetAssertion now handles array-lists (#18) by @nikophil
af570fd [feature] add TypeAssertion and type expectations (#15) by @kbond
ca27cac [feature] add ArraySubsetAssertion (#14) by @nikophil
9cd95b2 [feature] distinguish different array types when normalizing (#17) by @kbond
4d11f5c [minor] adjust phpstan config (#16) by @kbond
b339eeb [minor] add {message} context to Assert::try() by @kbond aead630 [feature] add Assert::try() by @kbond 69ce41f [feature] add Expectation::is(Not)InstanceOf() by @kbond c458feb [feature] add Expectation::is(Not)Null() by @kbond 46c214c [doc] fix typo by @kbond 888cdb1 [minor] add never-return to Assert::fail() by @kbond
Initial pre-release
How can I help you explore Laravel packages today?