Registry / testing / eloquent-phony

eloquent-phony

JSON →
library5.0.2phppackagistunverified

Mocks, stubs, and spies for PHP.

composer require eloquent/phony
INSTALL
IMPORT
SIG · ELOQUENT-PHONY
E
eloquent-phony
testingphpv5.0.2
harness data pending
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.

Phony
use Eloquent\Phony\Phony;

Create a mock object with a stubbed method.

use Eloquent\Phony\Phony; $mock = Phony::mock('SomeClass'); $mock->someMethod->returns('value');
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
eloquent-phony — pip install eloquent-phony · libregistry