PHPackages                             libre-informatique/varieties-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. libre-informatique/varieties-bundle

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

libre-informatique/varieties-bundle
===================================

Plant taxonomy management : Family / Genus / Species / Subspecies / Variety

0.6.4(8y ago)02.5k1LGPL-3.0PHPPHP &gt;=7.1

Since Feb 15Pushed 8y ago5 watchersCompare

[ Source](https://github.com/libre-informatique/VarietiesBundle)[ Packagist](https://packagist.org/packages/libre-informatique/varieties-bundle)[ Docs](https://github.com/libre-informatique/SymfonyLibrinfoVarietiesBundle)[ RSS](/packages/libre-informatique-varieties-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (8)Versions (12)Used By (0)

SymfonyLibrinfoVarietiesBundle
==============================

[](#symfonylibrinfovarietiesbundle)

[![Build Status](https://camo.githubusercontent.com/51cd3cd2bc22fd73c60889d5dca7a0846e9de4050360ae927ae4bafe4aff2275/68747470733a2f2f7472617669732d63692e6f72672f6c696272652d696e666f726d6174697175652f56617269657469657342756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/libre-informatique/VarietiesBundle)[![Coverage Status](https://camo.githubusercontent.com/9427282c133a56b83eb0e5f82c490a5ad7969442fbbc7b232985f4f974eab0f5/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6c696272652d696e666f726d6174697175652f56617269657469657342756e646c652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/libre-informatique/VarietiesBundle?branch=master)[![License](https://camo.githubusercontent.com/3227302f47d4f69424f018a17f9f2b15f0f532b4b86ac7423b99e3d2d63489b9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c696272652d696e666f726d6174697175652f56617269657469657342756e646c652e7376673f7374796c653d666c61742d737175617265)](./LICENCE.md)

[![Latest Stable Version](https://camo.githubusercontent.com/58058794120688113b076edcc110c2742af7ac277163e1534497e66a7e1e9432/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f7661726965746965732d62756e646c652f762f737461626c65)](https://packagist.org/packages/libre-informatique/varieties-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/f8731b0af4aa199ed71f6690ad9e7724b7b9e2e69e95bc6c9832c1882f8403ef/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f7661726965746965732d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/libre-informatique/varieties-bundle)[![Total Downloads](https://camo.githubusercontent.com/ac8c1955b5eda7c4c680566072d06a69b6fcce992dd7e5a6395c104d1928d87f/68747470733a2f2f706f7365722e707567782e6f72672f6c696272652d696e666f726d6174697175652f7661726965746965732d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/libre-informatique/varieties-bundle)

Installation
============

[](#installation)

From a basic symfony project

```
composer require sonata-project/admin-bundle 3.x-dev
composer require sonata-project/doctrine-orm-admin-bundle 3.x-dev
composer require blast-project/core-bundle dev-master
composer require blast-project/outer-extension-bundle
composer require libre-informatique/sonata-sylius-user-bundle
composer require libre-informatique/varieties-bundle
composer require sonata-project/intl-bundle

```

Configuration
=============

[](#configuration)

add [variety.yml](https://github.com/libre-informatique/LISemSymfonyProject/blob/master/app/config/varieties.yml) in app\\config

app\\config\\config.yml

```
imports:
    - { resource: parameters.yml }
    - { resource: security.yml }
    - { resource: services.yml }
    - { resource: varieties.yml }
# Doctrine Configuration
doctrine:
    dbal:
        driver: pdo_pgsql
        host: '%database_host%'
        port: '%database_port%'
        dbname: '%database_name%'
        user: '%database_user%'
        password: '%database_password%'
        charset: UTF8
    orm:
        auto_generate_proxy_classes: '%kernel.debug%'
        naming_strategy: doctrine.orm.naming_strategy.underscore
        auto_mapping: true
        mappings:
            gedmo_loggable:
                type: annotation
                prefix: Gedmo\Loggable\Entity
                dir: "%kernel.root_dir%/../vendor/gedmo/doctrine-extensions/lib/Gedmo/Loggable/Entity"
                alias: GedmoLoggable # (optional) it will default to the name set for the mappingmapping
                is_bundle: false

    # Sonata
sonata_block:
  default_contexts: [cms]
  blocks:

    # enable the SonataAdminBundle block
    sonata.admin.block.admin_list:
      contexts:   [admin]

blast_base_entities:
    orm:
        default:
            naming: true
            guidable: true
            timestampable: true
            addressable: true
            treeable: false
            nested_treeable: true
            nameable: true
            labelable: true
            emailable: true
            descriptible: true
            searchable: true
            loggable: true
            sortable: true
            normalize: true
            syliusGuidable: true
```

app\\AppKernel.php

```
