snowcap / yamlfixtures-bundle
Symfony SnowcapYamlFixturesBundle
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- doctrine/doctrine-fixtures-bundle: dev-master
- symfony/framework-bundle: 2.1.*
- symfony/symfony: 2.1.*
This package is not auto-updated.
Last update: 2024-12-21 14:32:39 UTC
README
This bundle is used to load fixtures in Yaml with Symfony 2
Installation
-
Add this bundle to your
vendor/
dir:-
Using the vendors script.
Add the following lines in your
deps
file::[SnowcapYamlFixturesBundle] git=git://github.com/snowcap/SnowcapYamlFixturesBundle.git target=/bundles/Snowcap/YamlFixturesBundle
Run the vendors script:
./bin/vendors install
-
Using git submodules.
$ git submodule add git://github.com/Snowcap/SnowcapYamlFixturesBundle.git vendor/bundles/Snowcap/YamlFixturesBundle
-
-
Add the Snowcap namespace to your autoloader:
// app/autoload.php $loader->registerNamespaces(array( 'Snowcap' => __DIR__.'/../vendor/bundles', // your other namespaces ));
-
Add this bundle to your application's kernel:
// app/ApplicationKernel.php public function registerBundles() { return array( // ... new Snowcap\YamlFixturesBundle\SnowcapYamlFixturesBundle(), // ... ); }