idci / genealogy-bundle
Symfony GenealogyBundle
Installs: 66
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 6
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- doctrine/doctrine-bundle: *
- idci/exporter-bundle: @dev
- symfony/framework-bundle: >=2.1
- twig/twig: *
This package is auto-updated.
Last update: 2024-10-24 20:43:00 UTC
README
The Genealogy Bundle aim to install a horse genealogy api.
Prerequisites
This bundle requires Symfony 2.3 or more.
Installation
To install this bundle please follow the next steps:
First add the dependency in your composer.json
file:
"require": { ... "idci/genealogy-bundle": "dev-master" },
Then install the bundle with the command:
php composer update
Enable the bundles in your application kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new IDCI\Bundle\GenealogyBundle\IDCIGenealogyBundle(), new IDCI\Bundle\ExporterBundle\IDCIExporterBundle() ); }
Update your routing.yml file:
idci_genealogy: resource: "@IDCIGenealogyBundle/Controller/" type: annotation idci_exporter: resource: "@IDCIExporterBundle/Controller/" type: annotation
Edit your parameters.yml file:
parameters: ... locale: fr element_class: "IDCI\Bundle\HorseGenealogyBundle\Entity\Element"
Finally add the bundle config in your config.yml
file:
imports: ... - { resource: @IDCIGenealogyBundle/Resources/config/config.yml }
Now the Bundle is installed.