Registry / testing / league-factory-muffin

league-factory-muffin

JSON →
library3.3.0phppackagistunverified

The goal of this package is to enable the rapid creation of objects for the purpose of testing.

composer require league/factory-muffin
INSTALL
IMPORT
SIG · LEAGUE-FACTORY-MUF
L
league-factory-muffin
testingphpv3.3.0
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.

FactoryMuffin
use League\FactoryMuffin\FactoryMuffin;

Create a test object with Factory Muffin

use League\FactoryMuffin\FactoryMuffin; $fm = new FactoryMuffin(); $fm->define(User::class)->setDefinitions(['name' => 'John Doe']); $user = $fm->create(User::class);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
league-factory-muffin — pip install league-factory-muffin · libregistry