PHPackages                             phodam/phodam - 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. phodam/phodam

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

phodam/phodam
=============

A library to provide populated objects for testing

v2.0.0(6mo ago)753[1 issues](https://github.com/phodam-project/phodam/issues)MITPHPPHP ^8.4CI passing

Since Dec 14Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/phodam-project/phodam)[ Packagist](https://packagist.org/packages/phodam/phodam)[ Docs](https://github.com/phodam-project/phodam)[ RSS](/packages/phodam-phodam/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (9)Versions (16)Used By (0)

Phodam
======

[](#phodam)

Phodam is inspired by [PODAM](https://mtedone.github.io/podam/).

Phodam is a PHP library used to generate randomly populated objects for unit tests.

Documentation
-------------

[](#documentation)

**New to Phodam?** Start with the [Quick Start Guide](docs/Quick%20Start%20Guide.md)

1. [Quick Start Guide](docs/Quick%20Start%20Guide.md) - Get started in minutes
2. [Initializing Phodam](docs/Initializing%20Phodam.md) - Setting up Phodam
3. [Automatic Type Analysis](docs/Automatic%20Type%20Analysis.md) - How Phodam automatically analyzes your classes
4. [Primitive Types](docs/Primitive%20Types.md) - Generating `int`, `float`, `string`, `bool`
5. [Built-in Types](docs/Builtin%20Types.md) - Working with `DateTime`, `DateTimeImmutable`, etc.
6. [Enum Types](docs/Enum%20Types.md) - Generating PHP 8 enum values
7. [Associative Arrays](docs/Associative%20Arrays.md) - Creating structured arrays
8. [Definition-based Type Providers](docs/Definition-based%20Type%20Providers.md) - Specifying field types
9. [Custom Type Providers](docs/Custom%20Type%20Providers.md) - Full control over object creation
10. [Named Providers](docs/Named%20Providers.md) - Multiple ways to generate the same type
11. [Breaking Circular References](docs/Breaking%20Circular%20References.md) - How to break Circular References with Providers

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance65

Regular maintenance activity

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 85.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~9 days

Total

15

Last Release

190d ago

Major Versions

v1.0.0-rc.3 → v2.0.0-alpha.12025-12-31

PHP version history (2 changes)v1.0.0-alpha.1PHP ^7.4|^8.0

v2.0.0-alpha.1PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/8f947407d73f35702e0149bf4f8a828a67d4adadd382a00574a578a946af4077?d=identicon)[avehlies](/maintainers/avehlies)

---

Top Contributors

[![avehlies](https://avatars.githubusercontent.com/u/503806?v=4)](https://github.com/avehlies "avehlies (149 commits)")[![chrisbouchard](https://avatars.githubusercontent.com/u/4512028?v=4)](https://github.com/chrisbouchard "chrisbouchard (21 commits)")[![steve-m-ny](https://avatars.githubusercontent.com/u/13156811?v=4)](https://github.com/steve-m-ny "steve-m-ny (4 commits)")

---

Tags

testingdata objectsunit-tests

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phodam-phodam/health.svg)

```
[![Health](https://phpackages.com/badges/phodam-phodam/health.svg)](https://phpackages.com/packages/phodam-phodam)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[behat/mink

Browser controller/emulator abstraction for PHP

1.6k91.9M718](/packages/behat-mink)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k30.0M2.8k](/packages/infection-infection)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

57530.2M667](/packages/dg-bypass-finals)[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10963.3M22](/packages/ta-tikoma-phpunit-architecture-test)[lmc/steward

Steward - makes Selenium WebDriver + PHPUnit testing easy and robust

224168.5k1](/packages/lmc-steward)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
