Skip to content
/ gedmo Public
forked from rixxi/gedmo

Gedmo Doctrine Extensions integration into Nette Framework using Kdyby/Doctrine

License

Notifications You must be signed in to change notification settings

matak/gedmo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rixxi/Gedmo

Requirements

Rixxi/Gedmo requires Kdyby/Doctrine

Installation

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

$ composer require rixxi/gedmo:@dev

To fix compatibility with Kdyby\Events put this in composer.json. Compatibility with Kdyby\Events is nearly resolved.

{
	"repositories": [
		{
			"type": "vcs",
			"url": "[email protected]:mishak87/DoctrineExtensions.git"
		}
	],
	"require": {
		"gedmo/doctrine-extensions": "dev-kdyby_doctrine_compat as @dev",
	}
}

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
	tree: 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.

About

Gedmo Doctrine Extensions integration into Nette Framework using Kdyby/Doctrine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%