New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

20 Laravel packages tagged “factories”

Most downloaded: league/factory-muffin, with 15,906,405 downloads and 533 GitHub stars. Ranked by total downloads — use the controls below to sort by stars, most recently updated, or name.

league/factory-muffin

The goal of this package is to enable the rapid creation of objects for the purpose of testing.
533 15,906,405

thedoctor0/laravel-factory-generator

Automatically generate Laravel factories for your models.
213 1,210,475

laravel-shift/factory-generator

Generate factories from existing models
48 955,035

mpociot/laravel-test-factory-helper

Generate Laravel test factories from your existing models
929 645,200

php-http/laravel-httplug

Laravel package to integrate the Httplug generic HTTP client into Laravel
12 110,154

illuminatech/array-factory

Allows DI aware object creation from array definition
21 77,159

jeffochoa/factory-stories

Create model factory stories in Laravel 5.*
78 66,326

coderello/laravel-populated-factory

An easy way to generate populated factories.
245 23,057

rymanalu/factory-generator

Laravel 5 Model Factory Generator.
17 8,006

saucebase/laravel-playwright

Blends Laravel and Playwright into seamless E2E tests — factories, queries, artisan commands, and time travel.
3 7,627

dittto/doctrine-entity-factories

Allows doctrine to pull entities from factories instead of just reflection
2 6,661

aerni/factory

Quickly whip up fake content
19 3,522

reedware/laravel-modern-factories

Adds modern Laravel Factories to older versions of Laravel
3,247

dropelikeit/laravel-responsefactory

A nice answer factory for Laravel based on the jms/serializer
3 2,264

thisisdevelopment/laravel-future-factories

Forward compatibility for laravel 8 factories
1,872

mybizna/automigrator

Declare database migrations and factory definitions inside Laravel models.
3 1,384

skovachev/fakefactory

A model factory package for Laravel 4 with expressive API for creating custom tailored dummy objects
29 1,122

talyssonoc/phactory-laravel

Use Phactory inside Laravel
2 16

cydrickn/laravel-query-factory

Query Factory use for easily mock your query builder without sending query from real database
3 13

testamic/testamic

A testing toolkit for Statamic. Factories, Stache isolation, and assertions for testing Statamic sites.