demogit - A repository for demo
asdas
asdas As part of Zend Framwork classes, I teach a versioning system, usually git.
zf create project demogit
asdas As part of Zend Framwork classes, I teach a versioning system, usually git.
zf create project demogit
Add the DavidBaduraFixturesBundle to your application kernel:
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new DavidBadura\FixturesBundle\DavidBaduraFixturesBundle(),
// ...
);
}
YAML
# @YourBundle/Resource/fixtures/example.yml
user:
david:
name: David
email: "d.badura@gmx.de"
groups: ["@group:admin"]
group:
admin:
name: Admin
php app/console davidbadura:fixtures:load