PHPackages                             mirovskyi/alice-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. mirovskyi/alice-bundle

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

mirovskyi/alice-bundle
======================

Symfony2 Bundle that helps loading fixture data written with the Alice library

v0.2.0(3y ago)03MITPHPPHP &gt;=5.3.0

Since Sep 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/mirovskyi/alice-bundle)[ Packagist](https://packagist.org/packages/mirovskyi/alice-bundle)[ RSS](/packages/mirovskyi-alice-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

AliceBundle
===========

[](#alicebundle)

A Symfony2 bundle to help load Doctrine Fixtures with Alice

[![Build Status](https://camo.githubusercontent.com/a574e9dd41b11788fe9c04a43c9ccd4d048f8a631211e113410d86655dace93d/68747470733a2f2f7472617669732d63692e6f72672f68617574656c6f6f6b2f416c69636542756e646c652e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/hautelook/AliceBundle)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/aff6f352708b28949c0cf2977ae29f626e0f487bff8e5f9fe8597aaf79e2fe7e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f68617574656c6f6f6b2f416c69636542756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f733d30623966663061633434303835626334396664623938663465613166656332666561393138613339)](https://scrutinizer-ci.com/g/hautelook/AliceBundle/)[![SensioLabsInsight](https://camo.githubusercontent.com/4c586a0d1a27d9026d73f0e61bc946931b835185858468274ddb3c4cb0475d13/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31313639653133332d336430322d346261382d613837652d6631353263363230663862352f6d696e692e706e67)](https://insight.sensiolabs.com/projects/1169e133-3d02-4ba8-a87e-f152c620f8b5)

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

[](#introduction)

This bundle provides a new loader as well as an abstract `DataFixureLoader` that makes it easy for you to add fixtures to your bundles. Additionally, the loader shares the references to your fixtures among your bundles, so that you can use them there. Refer to the [Alice documentation](https://github.com/nelmio/alice/blob/master/README.md) for more information.

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

[](#installation)

Simply run assuming you have installed composer.phar or composer binary (or add to your `composer.json` and run composer install:

```
$ composer require hautelook/alice-bundle
```

You can follow `dev-master`, or use a more stable tag (recommended for various reasons). On the [Github repository](https://github.com/hautelook/AliceBundle), or on [Packagist](http://www.packagist.org), you can always find the latest tag. It is very likely that you have a `stable` stability setting in your composer file which will prevent some of the required packages from being installed. To get around this, you will have to install the two required packages as well:

```
$ composer.phar require "doctrine/data-fixtures dev-master"
$ composer.phar require "doctrine/doctrine-fixtures-bundle 2.2.*"
$ composer.phar require "hautelook/alice-bundle 0.1.*"
```

Now add the Bundle to your Kernel:

```
