Registry / testing / codeception-stub

codeception-stub

JSON →
library4.3.0phppackagistunverified

Flexible Stub wrapper for PHPUnit's Mock Builder

testing
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use Codeception\Stub;

Create a stub object with predefined methods

use Codeception\Stub; $user = Stub::make('User', ['getName' => 'John']); echo $user->getName(); // John
Debug
Known footguns
breakingDepends on PHPUnit; version compatibility matters
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
19 hits · last 30 days
gptbot
3
amazonbot
3
claudebot
3
mj12bot
1
ahrefsbot
1
Resources