PHPackages                             blast-project/search-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. [Search &amp; Filtering](/categories/search)
4. /
5. blast-project/search-bundle

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

blast-project/search-bundle
===========================

A search system coupled with ElasticSearch

180PHP

Since Dec 20Pushed 8y ago4 watchersCompare

[ Source](https://github.com/blast-project/SearchBundle)[ Packagist](https://packagist.org/packages/blast-project/search-bundle)[ RSS](/packages/blast-project-search-bundle/feed)WikiDiscussions wip-platform Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Blast Search Bundle
===================

[](#blast-search-bundle)

Bundle that handle search indexes with an ElasticSearch instance.

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

[](#requirements)

You must have an ElasticSearch running and properly configured

(OPTIONNAL) Using an Elastic Stack stack
----------------------------------------

[](#optionnal-using-an-elastic-stack-stack)

### Using distribution

[](#using-distribution)

```
sudo apt-get install elasticsearch
```

Configure your elastic instance to listen to the right network interface by editing `/etc/elasticsearch/elasticsearch.yml` :

```
network.host: 0.0.0.0 # change 0.0.0.0 with your public IP or 127.0.0.1 for local exposure only
http.port: 9200
```

### Using Docker

[](#using-docker)

For development purposes only, you can use a complete Elastic Stack (previouly ELK stack).

For simplicity, you can use a Docker image for that stack :

```
docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk:611
```

*Note :* Don't use ElasticSearch 6 because of a incompatibility between ES 6 and FOSElasticaBundle (see this issue [FriendsOfSymfony/FOSElasticaBundle#1267](https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/1267))

You can launch this Docker image at stratup with a custom SystemD service (create the service file `/etc/systemd/system/elk.service`) :

```
[Unit]
Description=Start ELK (Elastic search, Logstash and Kibana) at startup
After=network.target
Requires=docker.service

[Service]
Type=simple
KillMode=none
ExecStart=/usr/bin/docker start -a elk
ExecStop=/usr/bin/docker stop -t 5 elk

[Install]
WantedBy=default.target
```

```
sudo systemctl daemon-reload
sudo systemctl enable elk
```

Map your entities with the search index
---------------------------------------

[](#map-your-entities-with-the-search-index)

In a config file, add this content

```
fos_elastica:
    clients:
        default:
            host: localhost
            port: 9200
    indexes:
        global:
            types:

                # Below is an example about how to map an entity to a search index

                user:
                    properties:
                        username: ~
                        email: ~
                    persistence:
                        driver: orm
                        model: "%sil.model.user.class%"
                        listener: ~ # by default, listens to "insert", "update" and "delete"
```

Populate indexes
----------------

[](#populate-indexes)

Run the FOSElasticaBundle command `bin/console fos:elastica:populate` to init elastic search indexes.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fc3ab5e7bcedd6769ea7ea27b9b65157b62b4b127296dd6762388d400193b054?d=identicon)[BlastCI](/maintainers/BlastCI)

---

Top Contributors

[![GlennCavarle](https://avatars.githubusercontent.com/u/10597426?v=4)](https://github.com/GlennCavarle "GlennCavarle (1 commits)")[![PapsOu](https://avatars.githubusercontent.com/u/5792207?v=4)](https://github.com/PapsOu "PapsOu (1 commits)")

### Embed Badge

![Health badge](/badges/blast-project-search-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/blast-project-search-bundle/health.svg)](https://phpackages.com/packages/blast-project-search-bundle)
```

###  Alternatives

[ruflin/elastica

Elasticsearch Client

2.3k50.4M203](/packages/ruflin-elastica)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[mailerlite/laravel-elasticsearch

An easy way to use the official PHP ElasticSearch client in your Laravel applications.

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[massive/search-bundle

Massive Search Bundle

721.4M13](/packages/massive-search-bundle)[shyim/opensearch-php-dsl

OpenSearch/Elasticsearch DSL library

175.9M9](/packages/shyim-opensearch-php-dsl)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
