2017 © Pedro Peláez
 

symfony-bundle genealogy-bundle

Symfony GenealogyBundle

image

idci/genealogy-bundle

Symfony GenealogyBundle

  • Wednesday, February 12, 2014
  • by idciconsulting
  • Repository
  • 4 Watchers
  • 2 Stars
  • 60 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GenealogyBundle

The Genealogy Bundle aim to install a horse genealogy api., (*1)

Prerequisites

This bundle requires Symfony 2.3 or more., (*2)

Installation

To install this bundle please follow the next steps:, (*3)

First add the dependency in your composer.json file:, (*4)

"require": {
    ...
    "idci/genealogy-bundle": "dev-master"
},

Then install the bundle with the command:, (*5)

php composer update

Enable the bundles in your application kernel:, (*6)

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new IDCI\Bundle\GenealogyBundle\IDCIGenealogyBundle(),
        new IDCI\Bundle\ExporterBundle\IDCIExporterBundle()
    );
}

Update your routing.yml file:, (*7)

idci_genealogy:
    resource: "@IDCIGenealogyBundle/Controller/"
    type:     annotation

idci_exporter:
    resource: "@IDCIExporterBundle/Controller/"
    type:     annotation

Edit your parameters.yml file:, (*8)

parameters:
    ...
    locale:           fr
    element_class:    "IDCI\Bundle\HorseGenealogyBundle\Entity\Element"

Finally add the bundle config in your config.yml file:, (*9)

imports:
    ...
    - { resource: @IDCIGenealogyBundle/Resources/config/config.yml }

Now the Bundle is installed., (*10)

The Versions

12/02 2014

dev-master

9999999-dev

Symfony GenealogyBundle

  Sources   Download

GPL-3.0+

The Requires

 

api json xml web service genealogy