Skip to content
Gedmo Doctrine Extensions integration into Nette Framework using Kdyby/Doctrine
Branch: master
Clone or download
mishak87 Merge pull request #18 from AntikCz/patch-1
Replaced nette/nette with nette/{di,utils}
Latest commit edd8eef Feb 24, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Rixxi/Gedmo/DI Bugfix: Treeable annotation using wrong namespace #14 Nov 13, 2015
composer.json Replaced nette/nette with nette/di Feb 24, 2016
license.md Init Aug 5, 2013
readme.md Fixed: Config name for tree should be treeable #11 Sep 7, 2015

readme.md

Rixxi/Gedmo

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.

You can’t perform that action at this time.