positibe / core-bundle
Symfony PositibeFilterBundle
1.0.3
2018-04-29 11:34 UTC
Requires
- gedmo/doctrine-extensions: ~2.4
- pcabreus-utils/named-character-converter: ~1.0
- stof/doctrine-extensions-bundle: 1.2.*
- sylius/resource-bundle: ^1.0
- symfony/framework-bundle: ~2.8|~3.0
- twig/extensions: ~1.0
This package is not auto-updated.
Last update: 2024-09-15 23:24:04 UTC
README
Positibe FilterBundle 为 Positibe 组件提供过滤功能。
安装
要安装此组件,只需添加依赖组件
php composer.phar require positibe/filter-bundle
接下来,请确保在应用程序内核中启用组件
<?php
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
// All dependencies of all Positibe bundles
/************* Sylius Required bundles ***************/
new FOS\RestBundle\FOSRestBundle(),
new JMS\SerializerBundle\JMSSerializerBundle($this),
new Sylius\Bundle\ResourceBundle\SyliusResourceBundle(),
new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(),
new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(),
new winzou\Bundle\StateMachineBundle\winzouStateMachineBundle(),
/************** Stof DoctrineExtensionBundle ****************/
new Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle(),
new Positibe\Bundle\FilterBundle\PositibeFilterBundle(),
// ...
);
}
导入一些 Twig 扩展
切换当前区域设置
Twig 函数
positibe_locale_switcher
go_back
loggable
Twig 测试
isDate
LuneticsLocaleBundle
此组件与 LuneticsLocaleBundle 配合使用时具有多项改进
西班牙语
Ver la documentación en /path/to/bundle/Resources/doc/es/index.md