2017 © Pedro Peláez
 

symfony-bundle search-doctrine-orm-bundle

DoctrineORM Symfony integration Bundle for RollerworksSearch

image

rollerworks/search-doctrine-orm-bundle

DoctrineORM Symfony integration Bundle for RollerworksSearch

  • Sunday, January 1, 2017
  • by sstok
  • Repository
  • 1 Watchers
  • 0 Stars
  • 131 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

RollerworksSearchDoctrineOrmBundle

Main purpose of this bundle is to integrate the RollerworksSearch Doctrine ORM extension with any Symfony based application., (*1)

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., (*2)

Require the rollerworks/search-doctrine-orm-bundle package in your composer.json and update your dependencies., (*3)

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

Add the RollerworksSearchDoctrineOrmBundle to your application's kernel:, (*4)

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

Configuration

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

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., (*6)

Note: The default driver uses an array which is only cached in memory., (*7)

Use a service-id as value for rollerworks_search_doctrine_orm.cache_driver., (*8)

``` yaml, (*9)

app/config/config.yml

rollerworks_search_doctrine_orm: cache_driver: rollerworks_search.doctrine_orm.cache.array_driver, (*10)


### Multiple EntityManagers If you want to use the search system with other EntityManagers then the "default" you can configure this with the following: ``` yaml # app/config/config.yml rollerworks_search_doctrine_orm: entity_managers: [default, second]

Usage

The rollerworks_search.doctrine_orm.factory service provides the Rollerworks\Component\Search\Doctrine\Orm\DoctrineOrmFactory for creating WhereBuilders., (*11)

License

The source of this package is subject to the MIT license that is bundled with this source code in the file LICENSE., (*12)

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][5] section., (*13)

The Versions

01/01 2017
19/09 2015
01/07 2015

v1.0.0-beta2

1.0.0.0-beta2

DoctrineORM Symfony integration Bundle for RollerworksSearch

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sebastiaan Stok

search bundle doctrine symfony rollerworks

23/01 2015

v1.0.0-beta1

1.0.0.0-beta1

DoctrineORM Symfony integration Bundle for RollerworksSearch

  Sources   Download

MIT

The Requires

 

The Development Requires

by Sebastiaan Stok

search bundle doctrine symfony rollerworks