PHPackages                             webfactory/content-mapping-destinationadapter-solarium-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. webfactory/content-mapping-destinationadapter-solarium-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

webfactory/content-mapping-destinationadapter-solarium-bundle
=============================================================

1.11.0(5mo ago)115.0k↓22.7%MITPHPPHP &gt;= 8.1

Since May 17Pushed 5mo ago7 watchersCompare

[ Source](https://github.com/webfactory/content-mapping-destinationadapter-solarium-bundle)[ Packagist](https://packagist.org/packages/webfactory/content-mapping-destinationadapter-solarium-bundle)[ RSS](/packages/webfactory-content-mapping-destinationadapter-solarium-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (8)Versions (17)Used By (0)

content-mapping-destinationadapter-solarium-bundle
==================================================

[](#content-mapping-destinationadapter-solarium-bundle)

Symfony bundle for [webfactory/content-mapping-destinationadapter-solarium](https://github.com/webfactory/content-mapping-destinationadapter-solarium), easing your synchronization life via simple configuration, a services and a console command.

Installation
------------

[](#installation)

Install the package via composer:

```
composer require webfactory/content-mapping-destinationadapter-solarium-bundle

```

and register two bundles in your Symfony Kernel:

- `Webfactory\ContentMappingDestinationAdapterSolariumBundle\WebfactoryContentMappingDestinationAdapterSolariumBundle`
- `Nelmio\SolariumBundle\NelmioSolariumBundle`

Also, configure the endpoint for the Solarium client. Currently, only the default client with the default endpoint is supported.

```
// app/config.yml

nelmio_solarium:
    endpoints:
        default:
            host: localhost
            port: 8983
            core: your-core
```

Usage
-----

[](#usage)

The bundle provides a service called `contentmapping.destinationadapter.solarium` which you can use to define a Synchronizer service inside the [webfactory/content-mapping](https://github.com/webfactory/content-mapping) mini framework:

```
