solitus0 / alice-generator
Recursively generate Alice fixtures from existing objects
Installs: 577
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/solitus0/alice-generator
Requires
- php: ^8.1
- doctrine/common: *
- doctrine/orm: >=2.14
- jms/metadata: ^2.0
- symfony/property-access: >=5.0
- symfony/yaml: >=5.0
Requires (Dev)
- nelmio/alice: ^3.3
- phpstan/phpstan: ^2.1.6
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^10.0
- rector/rector: ^2.0
- spaze/phpstan-disallowed-calls: ^4.5
- symplify/easy-coding-standard: ^12.5
README
AliceGenerator is a PHP library that generates realistic Alice fixtures from your existing database. It integrates seamlessly with Doctrine and provides flexible customization options for naming strategies, object handlers, and generation contexts.
Note: This library is a hard fork of trappar/AliceGenerator, redesigned and maintained independently by solitus0.
Documentation
Detailed guides are available:
Features
- Native Doctrine integration via
DoctrineMetadataHandler - Customizable property namers and reference namers
- Pluggable object handlers for custom types
- Fine-grained control over recursion and collection handling
- Data sanitation via property transformers
License
This project is licensed under the MIT License - see LICENSE for details.