# Alice

PHP library that generates fixtures and fake test data from YAML, PHP or JSON definitions, using Faker for generated values.


Source: https://findsoftware.frbit.cloud/nelmio-alice/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- repository: https://github.com/nelmio/alice
- docs: https://github.com/nelmio/alice/blob/main/doc/getting-started.md

### Identity

- status: active
- maintainer: Nelmio
- maintainerType: unknown
- parent: unknown
- firstRelease: 2012
- hqCountry: unknown

### Kind

- category: testing
- hosting: not applicable
- language: php
- runtime: php
- runtimeMin: php 8.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: local
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 3
- latestReleaseDate: 2026-02-24

### Adoption

- githubStargazers: 2537
- packagistDownloads: 48120718
- npmWeeklyDownloads: not applicable
- contributors: 132
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 1802
- dependentPackages: 152

### Sources

- urls: https://api.github.com/repos/nelmio/alice (read 2026-11-16)
- urls: https://raw.githubusercontent.com/nelmio/alice/main/README.md (read 2026-11-16)
- firstRelease: https://api.github.com/repos/nelmio/alice/commits/d95f73b4c82ff9b1ffba08c2c7d0446cdbcc77bf (read 2026-11-16)
- maintainer: https://raw.githubusercontent.com/nelmio/alice/main/LICENSE (read 2026-11-16)
- category: https://raw.githubusercontent.com/nelmio/alice/main/README.md (read 2026-11-16)
- language: https://api.github.com/repos/nelmio/alice (read 2026-11-16)
- runtime: https://raw.githubusercontent.com/nelmio/alice/3.17.0/composer.json (read 2026-11-16)
- runtimeMin: https://raw.githubusercontent.com/nelmio/alice/3.17.0/composer.json (read 2026-11-16)
- installMethod: https://raw.githubusercontent.com/nelmio/alice/main/README.md (read 2026-11-16)
- runsAs: https://raw.githubusercontent.com/nelmio/alice/main/README.md (read 2026-11-16)
- license: https://api.github.com/repos/nelmio/alice (read 2026-11-16)
- licenseModel: https://github.com/nelmio/alice/blob/3.17.0/composer.json (read 2026-11-16)
- currentMajor: https://api.github.com/repos/nelmio/alice/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/nelmio/alice/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/nelmio/alice (read 2026-11-16)
- contributors: https://api.github.com/repos/nelmio/alice/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/nelmio/alice.json (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/nelmio/alice.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/nelmio%2Falice (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/nelmio%2Falice (read 2026-11-16)

## Notes

Alice generates test fixtures for PHP from YAML, PHP or JSON files. A fixture file declares objects, their properties and the references between them, and placeholders in the file produce generated values through Faker. The [getting started guide](https://github.com/nelmio/alice/blob/main/doc/getting-started.md) and the README example load a file with the NativeLoader class.

The README installs it as a development dependency and describes it as for use while developing or testing. Framework integrations are separate third-party packages, which the README lists for Symfony, Nette, WordPress, Zend Framework 2 and framework-agnostic use.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
