{"repo":"theofidry/AliceDataFixtures","free":true,"listed":false,"github":"https://github.com/theofidry/AliceDataFixtures","clone":"git clone https://github.com/theofidry/AliceDataFixtures.git","description":"Nelmio Alice extension to persist the loaded fixtures.","language":"PHP","stars":322,"topics":["php","symfony","symfony-bundle","fixtures","alice","manage-fixtures","database"],"license":"MIT","category":"databases-storage","readme_excerpt":"AliceDataFixtures =========== Alice 3.x no longer ships with a persistence layer, so this library provides one! Supports: Symfony 7.4+ Doctrine ORM 3.3+ Doctrine ODM 5.1+ Doctrine PHPCR 2.0+ Eloquent 12.0+ Documentation 1. Installation 1. Without Symfony 1. Symfony with Flex 1. Symfony without flex 1. Doctrine ORM 1. Doctrine ODM 1. Doctrine PHPCR 1. Eloquent ORM 1. Configuration 1. Basic usage 1. Configuration 1. Advanced usage 1. Processors 1. Exclude tables from purge 1. Usage in tests 1. PHPUnit 1. Behat 1. Contributing Configuration The full configuration reference is: For each driver, if the appropriate bundle is detected, e.g. DoctrineORMBundle for Doctrine and WouterJEloquentBundle for Eloquent, the services related to those driver will be enabled. If you want to skip those checks you can turn a specific driver to true instead. If you want to disable a specific driver, simply force the value false instead. Basic usage Create a fixture file in src/AppBundle/Resources/fixtures : Then you can load those files using a LoaderInterface : Warning : loading the objects does not trigger a clear() . This means if you are relying on some Doctrine life-cycle events in your tests, some may not be triggered as expected. See #84 For more information. Advanced Usage Check the advance usage entry. Contributing Clone the project To launch Docker containers for databases, run make start databases Run tests with make test . To stop containers for databases, run make stop databases","default_branch":null,"files":null,"tree":[],"storefront":"/r/theofidry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/theofidry/AliceDataFixtures/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}