Skip to content

Glossary: Laravel

Factory

Also written: factories, User::factory()

A class that makes model objects filled with fake but realistic data, mostly for tests.

Where the book teaches it

Related terms

PestactingAs