# nelmio/alice

Expressive fixtures generator

Repository: https://github.com/nelmio/alice
Canonical: https://ross.abutalabs.com/products/nelmio-alice
Language: PHP
License: MIT
License Family: permissive
Topics: php, faker, alice, symfony, symfony-bundle, fixtures, fixture, manage-fixtures, expression-language
Last push: 2026-06-15T21:34:35+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 60, longevity 100
- inputs: {"age_days": 5058, "days_push": 79, "days_rel": 190, "gap_med": 34.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2538, forks 328 (observed 2026-08-28T04:06:59.247823+00:00)

## What it is
Nelmio Alice is a PHP library for generating expressive fixtures and fake data, built on top of FakerPHP. It lets developers define complex, constrained test data in readable YAML, PHP, or JSON files for use during development and testing.

## Use cases
- generate fake data for php tests
- create fixtures for a symfony application
- seed a database with realistic test data
- generate complex object graphs with relations for testing
- write readable yaml fixture files for a team
- populate development databases with dummy data

## When to choose
- you need large volumes of realistic fake data in PHP projects
- you want declarative YAML/JSON/PHP fixture files with relations and constraints
- you use Symfony and want bundle integration for fixtures

## When to avoid
- you need fixtures for a non-PHP stack
- you only need a simple random data generator without object instantiation
- your project requires a fixture tool with active framework-specific loaders beyond what Alice provides

## Facets
- artifact type: library
- maturity: active
- function: testing, data-generation, sdk
- domain: developer-tools, testing, web-development
- platform: php, cli
- tags: fixtures, faker, fake-data, symfony-bundle, yaml-fixtures, test-data

## Member repositories
- nelmio/alice (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:59.247823+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:11.651368+00:00, confidence not recorded.
  - readme: https://github.com/nelmio/alice (fetched 2026-08-28T04:06:59.247823+00:00, sha 3e776d40601d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
