PackageTrack
Sign in Get early access

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 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 14
  1. v1.7.0 07 Dec 2025
    Release notes

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

    Full Change List

    Open source →
    Release notes

    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
    Open source →
  2. v1.6.0 02 Nov 2025
    Release notes

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

    Full Change List

    Open source →
    Release notes

    November 2nd, 2025 - v1.5.1...v1.6.0

    • f555461 chore: allow Symfony 8 (#29) by @nikophil
    Open source →
  3. v1.5.1 28 Oct 2024
    Release notes

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

    Full Change List

    Open source →
    Release notes

    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
    Open source →
  4. v1.5.0 02 Dec 2023
    Release notes

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

    Full Change List

    Open source →
    Release notes

    December 2nd, 2023 - v1.4.0...v1.5.0

    • 2fc6d06 minor: allow Symfony 7.0 (#26) by @kbond
    Open source →
  5. v1.4.0 17 Apr 2023
    Release notes

    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

    Open source →
    Release notes

    April 17th, 2023 - v1.3.0...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
    Open source →
  6. v1.3.0 23 Jan 2023
    Release notes

    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

    Open source →
    Release notes

    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
    Open source →
  7. v1.2.0 12 Jul 2022
    Release notes

    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

    Open source →
    Release notes

    July 12th, 2022 - v1.1.0...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
    Open source →
  8. v1.1.0 27 Jun 2022
    Release notes

    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

    Open source →
    Release notes

    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
    Open source →
  9. v1.0.1 14 Feb 2022
    Release notes

    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

    Open source →
    Release notes

    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
    Open source →
  10. v1.0.0 27 Aug 2021
    Release notes

    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

    Open source →
    Release notes

    September 27th, 2021 - Initial Release

    Open source →
  11. v0.2.2 12 Aug 2021

    Nothing published for this version

  12. v0.2.1 12 Aug 2021

    Nothing published for this version

  13. v0.2.0 12 Aug 2021

    Nothing published for this version

  14. v0.1.0 05 Aug 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive