zenstruck/assert
Standalone, lightweight, framework agnostic, test assertion library.
v1.7.0
19M downloads/mo
#784 most downloaded on Packagist
zenstruck/assert
What this package is like to depend on
Last release 8 months ago
07 Dec 2025
Release timing varies
gaps range from 2 weeks to 12 months
Most releases are documented
notes for 10 of 14 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
14 releases · first in 2021
2 releases in the last 12 months
see the full history below
Release timeline
14 releases · Aug 2021 to Dec 2025Releases
latest 14-
v1.7.007 Dec 2025Release notes
Open source →519c22c feat: require PHP 8.1+ (#30) by @kbond
acb9237 minor: update action references and adjust composer stability (#30) by @kbondRelease notes
Open source →December 7th, 2025 - v1.6.0...v1.7.0
- 519c22c feat: require PHP 8.1+ (#30) by @kbond
- acb9237 minor: update action references and adjust composer stability (#30) by @kbond
-
v1.6.002 Nov 2025Release notes
Open source →November 2nd, 2025 - v1.5.1...v1.6.0
- f555461 chore: allow Symfony 8 (#29) by @nikophil
-
v1.5.128 Oct 2024Release notes
Open source →aef1082 minor: fix test deprecations (#28) by @kbond
0653be7 chore: keep releases lean (#27) by @raphaelstoltRelease notes
Open source →October 28th, 2024 - v1.5.0...v1.5.1
- aef1082 minor: fix test deprecations (#28) by @kbond
- 0653be7 chore: keep releases lean (#27) by @raphaelstolt
-
v1.5.002 Dec 2023Release notes
Open source →December 2nd, 2023 - v1.4.0...v1.5.0
- 2fc6d06 minor: allow Symfony 7.0 (#26) by @kbond
-
v1.4.017 Apr 2023Release notes
Open source →d771025 feat: non-strict
ContainsAssertionoption (#25) by @kbond
ea5e3f0 fix: allow ContainsAssertion "haystack" to be null (#24) by @kbond
3aa3209 feat: addExpectation::isTruthy()/isFalsy()(#24) by @kbond
d5f5ac1 feat: addExpectation::isTrue()/isFalse()(#24) by @kbondRelease notes
Open source →April 17th, 2023 - v1.3.0...v1.4.0
- d771025 feat: non-strict
ContainsAssertionoption (#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
- d771025 feat: non-strict
-
v1.3.023 Jan 2023Release notes
Open source →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 @kbondRelease notes
Open source →January 23rd, 2023 - v1.2.0...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
-
v1.2.012 Jul 2022Release notes
Open source →a1c6501 [feature]
ArraySubsetAssertionnow handles array-lists (#18) by @nikophil
af570fd [feature] addTypeAssertionand type expectations (#15) by @kbond
ca27cac [feature] addArraySubsetAssertion(#14) by @nikophil
9cd95b2 [feature] distinguish different array types when normalizing (#17) by @kbond
4d11f5c [minor] adjust phpstan config (#16) by @kbondRelease notes
Open source →July 12th, 2022 - v1.1.0...v1.2.0
- a1c6501 [feature]
ArraySubsetAssertionnow handles array-lists (#18) by @nikophil - af570fd [feature] add
TypeAssertionand 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
- a1c6501 [feature]
-
v1.1.027 Jun 2022Release notes
Open source →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 @kbondRelease notes
Open source →June 27th, 2022 - v1.0.1...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
-
v1.0.114 Feb 2022Release notes
Open source →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 @kbondRelease notes
Open source →February 14th, 2022 - v1.0.0...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
-
v1.0.027 Aug 2021Release notes
Open source →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 -
v0.2.212 Aug 2021Nothing published for this version
-
v0.2.112 Aug 2021Nothing published for this version
-
v0.2.012 Aug 2021Nothing published for this version
-
v0.1.005 Aug 2021Nothing published for this version