Skip to content

phodam-project/phodam

Repository files navigation

Phodam

Phodam is inspired by PODAM.

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

Documentation

New to Phodam? Start with the Quick Start Guide

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

About

A PHP package to generate objects for unit tests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages