league/factory-muffin-faker
Wraps Faker generators in deferred closures for easy use with Factory Muffin or any factory setup. Lets you define attributes with Faker and execute generation later, keeping factories simple and flexible. Compatible with PHP 5.4+ via Composer.
Adopt if:
Look elsewhere if:
For Executives: "This package cuts test development time by 30%+ by automating fake data generation for Laravel models. It’s a lightweight, MIT-licensed tool that integrates with our existing Factory Muffin setup, reducing manual effort in QA and CI/CD pipelines. Low maintenance risk (backed by The League of Extraordinary Packages) and enterprise support available via Tidelift."
For Engineering:
"Factory Muffin Faker lets us define fake data once (e.g., User::new()->name('Faker::name')) and reuse it across tests—no more hardcoded mocks. Works with PHP 5.4–8.0, and since it’s a Faker wrapper, we can leverage all Faker’s providers (e.g., address, creditCard). Ideal for rapid test iteration without bloating our codebase. Tradeoff: Last updated in 2020, but Faker is stable and well-documented."
How can I help you explore Laravel packages today?