dev-master
9999999-devSymfony GenealogyBundle
GPL-3.0+
The Requires
- php >=5.3.2
- twig/twig *
- doctrine/doctrine-bundle *
- symfony/framework-bundle >=2.1
- idci/exporter-bundle @dev
api json xml web service genealogy
Wallogit.com
2017 © Pedro Peláez
Symfony GenealogyBundle
The Genealogy Bundle aim to install a horse genealogy api., (*1)
This bundle requires Symfony 2.3 or more., (*2)
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)
Symfony GenealogyBundle
GPL-3.0+
api json xml web service genealogy