定制 rollerworks/search-doctrine-dbal-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rollerworks/search-doctrine-dbal-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require rollerworks/search-doctrine-dbal-bundle

包简介

Doctrine DBAL Symfony integration Bundle for RollerworksSearch

README 文档

README

Main purpose of this bundle is to integrate the RollerworksSearch Doctrine DBAL extension with any Symfony based application.

RollerworksSearch provides a powerful searching system.

Installation

This package is an extension for the RollerworksSearchBundle make sure you have successfully installed and configured the bundle before continuing.

Require the rollerworks/search-doctrine-dbal-bundle package in your composer.json and update your dependencies.

$ composer require rollerworks/search-doctrine-dbal-bundle

Add the RollerworksSearchDoctrineDbalBundle to your application's kernel:

// in AppKernel::registerBundles()
$bundles = [
    // ...
    new Rollerworks\Bundle\SearchBundle\RollerworksSearchBundle(),
    new Rollerworks\Bundle\SearchDoctrineDbalBundle\RollerworksSearchDoctrineDbalBundle(),
];

Configuration

The RollerworksSearchDoctrineDbalBundle is already pre-configured and does not require configuring. But you properly want to configure a 'real' cache which stays persistent between page requests.

Caching

The Caching system uses the doctrine/cache system for caching generated SQL/DQL queries. You can use any driver supported by Doctrine for caching.

Note: The default driver uses an array which is only cached in memory.

Use a service-id as value for rollerworks_search_doctrine_dbal.cache_driver.

# app/config/config.yml
rollerworks_search_doctrine_dbal:
    cache_driver: rollerworks_search.doctrine_dbal.cache.array_driver

Usage

The rollerworks_search.doctrine_dbal.factory service provides the Rollerworks\Component\Search\Doctrine\Dbal\DoctrineDbalFactory for creating WhereBuilders.

License

The source of this package is subject to the MIT license that is bundled with this source code in the file LICENSE.

Contributing

This is an open source project. If you'd like to contribute, please read the Contributing Code part of Symfony for the basics. If you're submitting a pull request, please follow the guidelines in the Submitting a Patch section.

统计信息

  • 总下载量: 365
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固