rixxi / gedmo
使用 Kdyby/Doctrine 将 Gedmo Doctrine Extensions 集成到 Nette 框架中
1.0.7
2016-02-24 17:58 UTC
Requires
- gedmo/doctrine-extensions: ~2.2
- kdyby/doctrine: ~3.0|~2.0|~1.0
- kdyby/events: ~3.0|~2.1
- nette/di: >= 2.1 < 2.4
- nette/utils: >= 2.1 < 2.4
This package is not auto-updated.
Last update: 2024-09-14 15:21:44 UTC
README
需求
Rixxi/Gedmo 需要 Kdyby/Doctrine
安装
安装 Rixxi/Gedmo 的最佳方法是使用 Composer
$ composer require rixxi/gedmo
配置
安装 Rixxi/Gedmo 的最佳方法是使用 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