rixxi/gedmo

Gedmo Doctrine Extensions integration into Nette Framework using Kdyby/Doctrine

Maintainers

Details

github.com/rixxi/gedmo

Source

Issues

Installs: 40 728

Dependents: 3

Suggesters: 0

Stars: 15

Watchers: 2

Forks: 16

Open Issues: 3

1.0.7 2016-02-24 17:58 UTC

README

Requirements

Rixxi/Gedmo requires Kdyby/Doctrine

Installation

The best way to install Rixxi/Gedmo is using Composer:

$ composer require rixxi/gedmo

Configuration

The best way to install Rixxi/Gedmo is using Composer:

extensions:
	gedmo: Rixxi\Gedmo\DI\OrmExtension
	# you should probably register Kdyby/Doctrine too
	doctrine: Kdyby\Doctrine\DI\OrmExtension

gedmo:
	translatableLocale: cs_CZ
	defaultLocale: cs_CZ

	# enable all annotations
	all: on
	# enable per annotation
	loggable: on
	sluggable: on
	softDeleteable: on
	sortable: on
	timestampable: on
	translatable: on
	treeable: on
	uploadable: on

# you must add bit type to your doctrine connection and soft-deleteable to filters
doctrine:
	types:
		bit: Doctrine\DBAL\Types\BooleanType

	filters:
		# without this softDeleteable won't work...            ...probably
		soft-deleteable: Gedmo\SoftDeleteable\Filter\SoftDeleteableFilter

Repository http://github.com/rixxi/gedmo.