PHPackages                             h4cc/alice-fixtures-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. h4cc/alice-fixtures-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

h4cc/alice-fixtures-bundle
==========================

Symfony2 Bundle for loading fixture data with the Alice library.

0.5.1(11y ago)76314.2k↓26.7%24[1 issues](https://github.com/h4cc/AliceFixturesBundle/issues)[4 PRs](https://github.com/h4cc/AliceFixturesBundle/pulls)7MITPHPPHP &gt;=5.3.0

Since Oct 14Pushed 9y ago8 watchersCompare

[ Source](https://github.com/h4cc/AliceFixturesBundle)[ Packagist](https://packagist.org/packages/h4cc/alice-fixtures-bundle)[ RSS](/packages/h4cc-alice-fixtures-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (11)Used By (7)

AliceFixturesBundle
===================

[](#alicefixturesbundle)

[![](https://gist.githubusercontent.com/h4cc/c5ac3cd17ec637c822c7927814ab1c6d/raw/b1d14b193d6173cf37723dddef1490caedbf48f3/new-maintainer.png)](https://twitter.com/h4cc)

A Symfony2 bundle for flexible usage of [nelmio/alice](https://github.com/nelmio/alice) and [fzaninotto/Faker](https://github.com/fzaninotto/Faker) in Symfony2.

[![Build Status](https://camo.githubusercontent.com/08a4775f8d45cf8e0c6a8c2bbac747df3202d6cef6dda4df88f3887d4fb8813e/68747470733a2f2f7472617669732d63692e6f72672f683463632f416c696365466978747572657342756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/h4cc/AliceFixturesBundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/ffd9780da6fcb9df8ebf45ef1142e937d06dcfe2328184b7f18e863bfaa2c442/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f683463632f416c696365466978747572657342756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d32663930633339343032323333386164343036363835613537356636616337656263646532613265)](https://scrutinizer-ci.com/g/h4cc/AliceFixturesBundle/)[![Code Coverage](https://camo.githubusercontent.com/b2367314607b876e68e7b7e91d19a78482bd2d865a1a72c32480a5915636fc04/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f683463632f416c696365466978747572657342756e646c652f6261646765732f636f7665726167652e706e673f733d39626630616266386566306563663431643631383763623863656263613032353230666237313530)](https://scrutinizer-ci.com/g/h4cc/AliceFixturesBundle/)[![SensioLabsInsight](https://camo.githubusercontent.com/af2c592b810394f646d5836f3c7d1f58fafd06fab6581513e811fa9d9f58ce7d/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62636433636435302d383435662d343164332d616662642d3933653061333966303363372f6d696e692e706e67)](https://insight.sensiolabs.com/projects/bcd3cd50-845f-41d3-afbd-93e0a39f03c7)

Status
------

[](#status)

This Bundle should be considered "Work-In-Progress". Every version &lt; 1.0 **can and will change**. This also means, if you have a fundamental idea for a change, feel free to contribute. Contributions in any form are always welcome!

Introduction
------------

[](#introduction)

The aim of this bundle is to provide a new way of working with data fixtures detached from the common Doctrine DataFixtures. Loading of fixtures should be decoupled and easy to integrate where needed. This bundle offers loading Fixtures from yaml and php files, also dropping and recreating the ORM Schema. Next to Doctrine/ORM, also Doctrine/MongoDB-ODM is supported for recreating schema and persisting fixtures.

If you are searching for a Bundle that provides a way to integrate Alice with Doctrine DataFixtures, have a look at [hautelook/AliceBundle](https://github.com/hautelook/AliceBundle).

This bundle is also capable of recreating the ORM schema. This means *all* tables managed by Doctrine will be dropped and recreated. A data loss will appear, **you have been warned**.

Installation
------------

[](#installation)

Simply require the bundle by its name with composer:

```
$ php composer.phar require h4cc/alice-fixtures-bundle
```

Follow the 'dev-master' branch for latest dev version. But i recommend to use more stable version tags if available.

After that, add the Bundle to your Kernel, most likely in the "dev" or "test" environment.

```
