Download the PHP package elythyr/prooph-fixtures-bundle without Composer
On this page you can find all versions of the php package elythyr/prooph-fixtures-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elythyr/prooph-fixtures-bundle
More information about elythyr/prooph-fixtures-bundle
Files in elythyr/prooph-fixtures-bundle
Package prooph-fixtures-bundle
Short Description Symfony bundle for elythyr/prooph-fixtures
License MIT
Informations about the package prooph-fixtures-bundle
Prooph Fixtures Bundle
Symfony's Bundle for 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
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.0to1.0.9should not break anything - Updating from
1.0.0to1.1.0might break a lot of stuff
Configuration
Projection cleaning strategy
By default the PdoCleaningProjectionStrategy will be used.
If you don't use 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:
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:
Usage
Simply go to your terminal and type:
Todo
- [x] Adds CI with Travis
- [x] Adds tests coverage
- [x] Make a first release
- [x] Publish to packagist
- [ ] (Wondering) Adds events before/after: cleaning, loading all fixtures, loagin each fixture
All versions of prooph-fixtures-bundle with dependencies
elythyr/prooph-fixtures Version ^1.1
prooph/event-store-symfony-bundle Version ^0.5.0
symfony/console Version ^3.4 || ^4.0
symfony/dependency-injection Version ^3.4 || ^4.0
symfony/expression-language Version ^3.4 || ^4.0
symfony/http-kernel Version ^3.4 || ^4.0
symfony/lock Version ^3.4 || ^4.0