PHPackages                             marmelab/sonata-elastica-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. [API Development](/categories/api)
4. /
5. marmelab/sonata-elastica-bundle

AbandonedArchivedSymfony-bundle[API Development](/categories/api)

marmelab/sonata-elastica-bundle
===============================

Adapter for elastica in Sonata admin bundle

4312.2k12[3 issues](https://github.com/marmelab/SonataElasticaBundle/issues)[1 PRs](https://github.com/marmelab/SonataElasticaBundle/pulls)PHP

Since May 4Pushed 7y ago3 watchersCompare

[ Source](https://github.com/marmelab/SonataElasticaBundle)[ Packagist](https://packagist.org/packages/marmelab/sonata-elastica-bundle)[ RSS](/packages/marmelab-sonata-elastica-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

  [![archived](https://camo.githubusercontent.com/742c4e1d1cee10950fdbcf8cec4cdfb2f650d7d83c0fe0d065a460c50515f2be/68747470733a2f2f63646e6a732e636c6f7564666c6172652e636f6d2f616a61782f6c6962732f6f637469636f6e732f382e352e302f7376672f617263686976652e737667)](https://camo.githubusercontent.com/742c4e1d1cee10950fdbcf8cec4cdfb2f650d7d83c0fe0d065a460c50515f2be/68747470733a2f2f63646e6a732e636c6f7564666c6172652e636f6d2f616a61782f6c6962732f6f637469636f6e732f382e352e302f7376672f617263686976652e737667) **Archived Repository**
 This code is no longer maintained. Feel free to fork it, but use it at your own risks.  SonataElastica
==============

[](#sonataelastica)

Power the Sonata Admin list view and filters by an ElasticSearch index to speed up navigation.

The [Sonata Admin Bundle](http://sonata-project.org/bundles/admin/master/doc/index.html) provides a web UI to many types of persistence (RDBMS, MongoDB, PHPCR), some of which have limited query capabilities. If you already have an ElasticSearch index for a given model, this bundle allows you to use this index instead of the native repository query system. This may provide a great performance boost, depending on your data structure and indexes.

Requirements
------------

[](#requirements)

This bundle depends on:

- `sonata-project/admin-bundle`
- `friendsofsymfony/elastica-bundle`

It can be used with Doctrine (ORM, ODM, PHPCR-ODM), or Propel ORM:

- `sonata-project/doctrine-orm-admin-bundle` - after version `@15ed873424fb30af43569014a48f6d216fdefe78`
- `sonata-project/propel-orm-admin-bundle`

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

[](#installation)

### Step 1: Download using composer

[](#step-1-download-using-composer)

Require `marmelab/sonata-elastica-bundle` in your `composer.json` file:

```
{
    "require": {
        "marmelab/sonata-elastica-bundle": "dev-master"
    }
}
```

Then run `composer.phar install` as usual.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

Enable the bundle in the kernel:

```
