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(3mo ago)753[1 issues](https://github.com/phodam-project/phodam/issues)MITPHPPHP ^8.4CI passing

Since Dec 14Pushed 3mo 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 1w ago

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

43

—

FairBetter than 91% of packages

Maintenance79

Regular maintenance activity

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

97d 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

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[phpunit/php-code-coverage

Library that provides collection, processing, and rendering functionality for PHP code coverage information.

8.9k892.4M1.5k](/packages/phpunit-php-code-coverage)[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[symfony/phpunit-bridge

Provides utilities for PHPUnit, especially user deprecation notices management

2.5k201.2M4.2k](/packages/symfony-phpunit-bridge)[behat/mink

Browser controller/emulator abstraction for PHP

1.6k86.1M606](/packages/behat-mink)

PHPackages © 2026

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