Alice is a PHP test data generator and fixture library used to automate the creation of large sets of fake objects and entities. It functions as an object hydrator and random data provider, allowing users to define the structure and attributes of dummy test data in markup or arrays to simulate specific application states.
The library distinguishes itself through a template-based system that supports fixture inheritance to reduce data duplication. It utilizes a flexible instantiation model that allows for custom factory integration, method invocation, and property hydration via reflection or custom setters to control how objects are born and populated.
Its capabilities cover relational mapping to establish dependencies between fixtures, bulk generation of data collections, and the use of probabilistic value assignment to simulate variability. The system also integrates random data providers to ensure localized values and unique constraints across datasets.