Weave Code
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

Assert Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v1.7.0

519c22c feat: require PHP 8.1+ (#30) by @kbond acb9237 minor: update action references and adjust composer stability (#30) by @kbond

Full Change List

v1.6.0

f555461 chore: allow Symfony 8 (#29) by @nikophil

Full Change List

v1.5.1

aef1082 minor: fix test deprecations (#28) by @kbond 0653be7 chore: keep releases lean (#27) by @raphaelstolt

Full Change List

v1.5.0

2fc6d06 minor: allow Symfony 7.0 (#26) by @kbond

Full Change List

v1.4.0

d771025 feat: non-strict ContainsAssertion option (#25) by @kbond ea5e3f0 fix: allow ContainsAssertion "haystack" to be null (#24) by @kbond 3aa3209 feat: add Expectation::isTruthy()/isFalsy() (#24) by @kbond d5f5ac1 feat: add Expectation::isTrue()/isFalse() (#24) by @kbond

Full Change List

v1.3.0

11efb09 minor: add output to ArraySubset failures (#22) by @nikophil b346d0c fix(ci): add token by @kbond bdd44e4 chore(ci): fix by @kbond 58ee470 feat: require PHP 8+ (#21) by @kbond a8e830a ci: fix (#20) by @kbond

Full Change List

v1.2.0

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

Full Change List

v1.1.0

676e511 [minor] CI adjustments (#13) by @kbond 5a1fdfc [minor] remove scrutinizer (#13) by @kbond a8971b4 [minor] cs fixes (#13) by @kbond 7a968e1 [feature] Assert::try() now triggers a "pass" if successful (#13) by @kbond

Full Change List

v1.0.1

45c0a9d [minor] adjust typehints by @kbond 9c3b326 [minor] add static code analysis with phpstan (#11) by @kbond 38cf18f [minor] use supported version of php-cs-fixer (#10) by @kbond 77b9572 [ci] add php 8.1 to test matrix by @kbond 2650a52 [ci] use reusable workflows (#9) by @kbond

Full Change List

v1.0.0

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

Full Change List

v0.2.2
v0.2.1
v0.2.0
v0.1.0

Initial pre-release

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport