Skip to content

texai/demogit

Repository files navigation

demogit - A repository for demo

asdas

Introduction

asdas As part of Zend Framwork classes, I teach a versioning system, usually git.

  • zf create project demogit

Introduction

asdas As part of Zend Framwork classes, I teach a versioning system, usually git.

  • zf create project demogit

Installation 7

Add the DavidBaduraFixturesBundle to your application kernel:

// app/AppKernel.php
public function registerBundles()
{
    return array(
        // ...
        new DavidBadura\FixturesBundle\DavidBaduraFixturesBundle(),
        // ...
    );
}

Create fixtures

YAML

# @YourBundle/Resource/fixtures/example.yml
user:
    david:
        name: David
        email: "d.badura@gmx.de"
        groups: ["@group:admin"]
group:
    admin:
        name: Admin

Load fixtures

php app/console davidbadura:fixtures:load