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

Stub Laravel Package

codeception/stub

Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations.

View on GitHub
Deep Wiki
Context7
4.3.0

4.3.0 (2026-02-06)

Features

4.2.1

4.2.1 (2025-12-05)

Bug Fixes

4.2.0

4.2.0 (2025-08-01)

Features

  • bump minimum php version to 8.1, first automated release (cb6b199)
4.1.3
4.1.2
4.1.1
4.1.0
  • Don't add dynamic property __mocked to mocked object #40
4.0.2
  • Support PHPUnit 10
4.0.1
  • Fix [@template](https://github.com/template) annotation for Stub::makeEmptyExcept by @lysyjan
4.0.0

What's Changed

Full Changelog: https://github.com/Codeception/Stub/compare/3.7.0...4.0.0

3.7.0

Better support for SA tools like Psalm/PHPStan #24

3.6.1
3.6.0

In preparation for Codeception 5

3.5.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

3.0.0

Raised lowest supported versions to PHP 7.0 and PHPUnit 6.5 Removed shim.php file

2.1.0
2.0.4

Deleting 2.0.2 and 2.0.3 was stupid, because packagist kept info about those versions.

2.0.1
2.0.0
  • Reversed MockObject_Generator condition in shim.php
  • Incompatible with Codeception 2.3
1.0.4
1.0.3

Reversed MockObject_Generator condition in shim.php to fix my issue with Zend_Loader

1.0.2

Also autocompletion fix #2

1.0.1

Fixes #1

1.0.0

Copied from Codeception\Util\Stub and refactored

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
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
twbs/bootstrap4