PHPackages                             elythyr/prooph-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. [Testing &amp; Quality](/categories/testing)
4. /
5. elythyr/prooph-fixtures-bundle

ActiveSymfony-bundle[Testing &amp; Quality](/categories/testing)

elythyr/prooph-fixtures-bundle
==============================

Symfony bundle for elythyr/prooph-fixtures

v1.1(7y ago)046MITPHPPHP ^7.1.3

Since Dec 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/elythyr/prooph-fixtures-bundle)[ Packagist](https://packagist.org/packages/elythyr/prooph-fixtures-bundle)[ RSS](/packages/elythyr-prooph-fixtures-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (12)Versions (3)Used By (0)

Prooph Fixtures Bundle
======================

[](#prooph-fixtures-bundle)

[![Build Status](https://camo.githubusercontent.com/dcbd310f2a0d8bf0d6739ab904225ea59e5faed8f18d4c3f9bf8c2c918d6c237/68747470733a2f2f7472617669732d63692e6f72672f656c79746879722f70726f6f70682d66697874757265732d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/elythyr/prooph-fixtures-bundle)[![Coverage Status](https://camo.githubusercontent.com/cb670007241b899f193b078986cc91b7e1b7d12efea146a71c654f9d42507e72/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f656c79746879722f70726f6f70682d66697874757265732d62756e646c652f6d61737465722e737667)](https://coveralls.io/github/elythyr/prooph-fixtures-bundle?branch=master)

Symfony's Bundle for [Prooph Fixtures](https://github.com/elythyr/prooph-fixtures).

Provides an easy integration of the library inside symfony by auto configuring the fixtures and providing a console command to load all your fixtures.

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

[](#installation)

```
composer require --dev elythyr/prooph-fixtures-bundle
```

#### Versions management

[](#versions-management)

Since its a practice project, I don't really care about BC breaks. I will only try to not break minor versions, meaning that:

- Updating from `1.0.0` to `1.0.9` should not break anything
- Updating from `1.0.0` to `1.1.0` might break a lot of stuff

Configuration
-------------

[](#configuration)

#### Projection cleaning strategy

[](#projection-cleaning-strategy)

By default the PdoCleaningProjectionStrategy will be used.

If you don't use [prooph/pdo-event-store](https://github.com/prooph/pdo-event-store), then you will have to provide your own cleaning strategy and defined it as an alias to `prooph_fixtures.cleaning_projection_strategy`:

```
services:
    prooph_fixtures.cleaning_projection_strategy:
        alias: App\Infrastructure\Cleaner\CustomProjectionCleaningStrategy
```

#### Fixtures

[](#fixtures)

There is nothing to configure!

Just make sure that your fixtures are defined as services and implements `Prooph\Fixtures\Fixture\Fixture` so they will be autoconfigured by the Bundle.

If you do not use autoconfiguration, then you must add the tag to all of your fixtures:

```
# config/services.yaml
services:
    # On a per class basis
    App\DataFixtures\MyAllNewFixtures:
        tags: ['prooph_fixtures.fixtures']

    # For an entire directory
    App\DataFixtures\:
        resource: '../src/DataFixtures'
        tags: ['prooph_fixtures.fixtures']
```

Usage
-----

[](#usage)

Simply go to your terminal and type:

```
php bin/console event-store:fixtures:load
```

Todo
----

[](#todo)

- Adds CI with Travis
- Adds tests coverage
- Make a first release
- Publish to packagist
- (Wondering) Adds events before/after: cleaning, loading all fixtures, loagin each fixture

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Total

2

Last Release

2655d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef5f1b88540b82e331f14d258ffb106e0bcfbd6154a2363c6dfd4ea3d0328813?d=identicon)[elythyr](/maintainers/elythyr)

---

Top Contributors

[![camilledejoye](https://avatars.githubusercontent.com/u/11501572?v=4)](https://github.com/camilledejoye "camilledejoye (1 commits)")

---

Tags

data-fixturesevent-sourcefixturesproophprooph-fixturessymfony-bundle

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/elythyr-prooph-fixtures-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/elythyr-prooph-fixtures-bundle/health.svg)](https://phpackages.com/packages/elythyr-prooph-fixtures-bundle)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
