PackageTrack
Sign in Get early access

mattiasgeniar/phpunit-query-count-assertions

A custom assertion for phpunit that allows you to count the amount of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).

1.3.2 949K downloads/mo #3770 most downloaded on Packagist mattiasgeniar/phpunit-query-count-assertions

What this package is like to depend on

Last release 5 months ago

26 Feb 2026

Release timing varies

gaps range from 2 weeks to 1.1 years

Some releases are documented

notes for 8 of 24 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

24 releases · first in 2020

11 releases in the last 12 months

see the full history below

Release timeline

22 releases · Sep 2020 to Feb 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 1.3.2 26 Feb 2026

    Nothing published for this version

  2. 1.3.1 09 Feb 2026

    Nothing published for this version

  3. 1.3.0 09 Feb 2026

    Nothing published for this version

  4. 1.2.5 06 Feb 2026
    Release notes

    Full Changelog: 1.2.4...1.2.5

    Open source →
    Release notes

    Full Changelog: https://github.com/mattiasgeniar/phpunit-query-count-assertions/compare/1.2.4...1.2.5

    Open source →
  5. 1.2.4 25 Jan 2026

    Nothing published for this version

  6. 1.2.3 20 Jan 2026

    Nothing published for this version

  7. 1.2.2 no date

    Nothing published for this version

  8. 1.2.1 19 Jan 2026

    Nothing published for this version

  9. 1.2.0 18 Jan 2026

    Nothing published for this version

  10. 1.1.8 18 Jan 2026

    Nothing published for this version

  11. 1.1.7 14 Jan 2026
    Release notes

    What's Changed

    • Add query location reporting to assertion failures by @mattiasgeniar in https://github.com/mattiasgeniar/phpunit-query-count-assertions/pull/14

    Full Changelog: https://github.com/mattiasgeniar/phpunit-query-count-assertions/compare/1.1.6...1.1.7

    Open source →
  12. 1.1.6 12 Jan 2026

    Nothing published for this version

  13. 1.1.5 24 Feb 2025
    Release notes

    PHP 8.4 support

    Open source →
  14. 1.1.4 17 Feb 2025
    Release notes

    Support for Laravel 12

    Open source →
  15. 1.1.3 04 Mar 2024
    Release notes

    Support for Laravel 11.x added

    Open source →
  16. 1.1.2 24 Jan 2023
    Release notes
    • support Laravel 10
    Open source →
  17. 1.1.1 21 Jan 2022
    Release notes
    • support Laravel 9
    Open source →
  18. 1.0.1 21 Jan 2022
    Release notes
    • support Laravel 9
    Open source →
  19. 1.1 01 Dec 2020

    Nothing published for this version

  20. 1.0 28 Sep 2020

    Nothing published for this version

  21. 0.5 no date

    Nothing published for this version

  22. 0.4 27 Sep 2020

    Nothing published for this version

  23. 0.2 27 Sep 2020

    Nothing published for this version

  24. 0.1 27 Sep 2020

    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