gos / fixture-bundle
Fixture bundle, fixture, bundle, fixture tool, doctrine, orm
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- doctrine/doctrine-fixtures-bundle: 2.2.*
- gos/fixture: ~1.0@dev
- sensio/framework-extra-bundle: ~3.0
This package is auto-updated.
Last update: 2020-08-17 21:56:46 UTC
README
#Gos Fixture Bundle#
This project is currently in development, please take care.
Installation
You need to have composer to install dependencies.
{ "require": { "gos/fixture-bundle": "{last stable version}" } }
Then run the command on the root of your projectcomposer update
Add this line in your AppKernel.php
$bundles = array( //Other bundles new Gos\Bundle\FixtureBundle\GosFixtureBundle(), );
Configuration
That define we must looking for your yaml data file, you can add several path.
gos_fixture: directories: - 'src/*/*/DataFixtures/YML/'
You can also see
Running the tests:
PHPUnit 3.5 or newer together with Mock_Object package is required. To setup and run tests follow these steps:
- go to the root directory of fixture
- run: composer install --dev
- run: phpunit
License
The project is under MIT lisence, for more information see the LICENSE file inside the project