PHPackages                             alanwillms/phactory - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. alanwillms/phactory

ActiveLibrary[Testing &amp; Quality](/categories/testing)

alanwillms/phactory
===================

A PHP library for generating data for tests

1.1.4(12y ago)0103MITPHP &gt;=5.3

Since May 23Pushed 11y ago1 watchersCompare

[ Source](https://github.com/alanwillms/phactory)[ Packagist](https://packagist.org/packages/alanwillms/phactory)[ Docs](https://github.com/rbone/phactory)[ RSS](/packages/alanwillms-phactory/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

Phactory
========

[](#phactory)

[(ver documentação em português)](docs/pt-BR/README.md)

A PHP library for creating data for tests. Designed for simplicity and extensibility.

Usage
-----

[](#usage)

Define factories like so:

```
