NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #598 most downloaded on Packagist
Flexible Stub wrapper for PHPUnit's Mock Builder
Latest stable
4.3.0
Last release 9 months ago
06 Feb 2026
Release timing varies
gaps range from 3 weeks to 1.4 years
Most releases are documented
notes for 19 of 25 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
25 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
# 4.3.0 (2026-02-06) ### Features * add support for phpunit 13
compatability with phpunit 12.5
Your coding agent can read these notes before it upgrades. Set up the MCP server →
bump minimum php version to 8.1, first automated release
Test against PHP 8.3 + 8.4, fix CI by @W0rma in https://github.com/Codeception/Stub/pull/49
Full Changelog: https://github.com/Codeception/Stub/compare/4.1.3...4.1.4
Support PHPUnit 11 by @W0rma in https://github.com/Codeception/Stub/pull/48
Fix compatibility with PHPUnit 10.4 by @W0rma in https://github.com/Codeception/Stub/pull/47
Fix namespace for Generator in PHPUnit >= 10.3 by @W0rma in https://github.com/Codeception/Stub/pull/42
Don't add dynamic property __mocked to mocked object #40
Support PHPUnit 10
Fix @template annotation for Stub::makeEmptyExcept by @lysyjan
@template annotation for Stub::makeEmptyExcept by @lysyjanUpdated code base to PHP 7.4 by @TavoNiievez in https://github.com/Codeception/Stub/pull/37
Full Changelog: https://github.com/Codeception/Stub/compare/3.7.0...4.0.0
Better support for SA tools like Psalm/PHPStan #24
Better support for SA tools like Psalm/PHPStan #24
Nothing published for this version
In preparation for Codeception 5
In preparation for Codeception 5
If any changes are required for older versions of PHPUnit, then must be branched off of 3.0.0 and released as 3.0.1 or 3.1.0
If any changes are required for older versions of PHPUnit, then must be branched off of 3.0.0 and released as 3.0.1 or 3.1.0
Raised lowest supported versions to PHP 7.0 and PHPUnit 6.5 Removed shim.php file
Raised lowest supported versions to PHP 7.0 and PHPUnit 6.5 Removed shim.php file
Nothing published for this version
Deleting 2.0.2 and 2.0.3 was stupid, because packagist kept info about those versions.
Deleting 2.0.2 and 2.0.3 was stupid, because packagist kept info about those versions.
Nothing published for this version
Reversed MockObject_Generator condition in shim.php
Nothing published for this version
Reversed MockObject_Generator condition in shim.php to fix my issue with Zend_Loader
Reversed MockObject_Generator condition in shim.php to fix my issue with Zend_Loader
Nothing published for this version
Nothing published for this version
chore(ci): fix typo in job dependency name
chore(ci): fix typo in job dependency name
One column per quarter.