Manticore PHP integration for your Symfony project using Manticore and Doctrine ORM

Installs: 35

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 2

Open Issues: 0


v0.0.3 2020-03-23 09:21 UTC

This package is auto-updated.

Last update: 2023-05-05 20:33:06 UTC


Build Status


This bundle should to be installed with Composer The process vary slightly depending on if your application uses Symfony Flex or not.

Following instructions assume you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Applications that use Symfony Flex

Open a command console, enter your project directory and execute:

composer require versh23/manticore-bundle

Applications that don't use Symfony Flex

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

composer require versh23/manticore-bundle

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

// app/AppKernel.php

// ...
class AppKernel extends Kernel
    public function registerBundles()
        $bundles = array(
            // ...
            new Versh23\ManticoreBundle\Versh23ManticoreBundle(),

        // ...

    // ...


Create configuration file config/packages/manticore.yaml


    host: 'manticore'
    port: 9306
            class: App\Entity\MyEntity
                description: ~ #short syntax
                name:          #full syntax
                    property: name

                free: bool #short syntax
                status:    #full syntax
                    property: status
                    type: string

In this example will be created a manticore.index_manager.article service that allow to manipulate index manticore.index.article

  • truncate index (truncateIndex())
  • flush index (flushIndex())
  • replace/insert/delete operations (replace(), insert(), delete(), bulkReplace(), bulkInsert() )
  • create a Pagerfanta object (findPaginated())
  • simple find objects (find())
  • create custom query by SphinxQL syntax (createQuery)

For App\Entity\MyEntity will be created Event listener manticore.listener.article thats allow update your RT index my_entity

There are two useful commands:

  • manticore:index:config - render config sample
  • manticore:index:populate - populate RT index