PHPackages                             fsi/datasource-elastica-driver - 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. fsi/datasource-elastica-driver

ActiveLibrary[Search &amp; Filtering](/categories/search)

fsi/datasource-elastica-driver
==============================

Elastica FSi DataSource Driver

v1.0.1(3y ago)11.6k3[1 issues](https://github.com/fsi-open/datasource-elastica-driver/issues)MITPHPPHP ^7.4|^8.0

Since Oct 16Pushed 2y ago3 watchersCompare

[ Source](https://github.com/fsi-open/datasource-elastica-driver)[ Packagist](https://packagist.org/packages/fsi/datasource-elastica-driver)[ RSS](/packages/fsi-datasource-elastica-driver/feed)WikiDiscussions master Synced 1mo ago

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

DataSource Elastica Driver
==========================

[](#datasource-elastica-driver)

DataSource Driver for ElasticSearch

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

[](#requirements)

This driver requires ES ^7.0

Installation for Symfony Application
------------------------------------

[](#installation-for-symfony-application)

```
composer require fsi/datasource-elastica-driver
```

Service definition (`elastica-driver.xml`):

```

            elastica

```

```
/**
 * This is the class that loads and manages your bundle configuration
 *
 * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
 */
class FsiDemoExtension extends Extension
{
    /**
     * {@inheritDoc}
     */
    public function load(array $configs, ContainerBuilder $container)
    {
        $configuration = new Configuration();
        $config = $this->processConfiguration($configuration, $configs);

        $xmlLoader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
        $xmlLoader->load('elastica-driver.xml');
    }
}
```

Usage
-----

[](#usage)

```
$dataSource = $this->dataSourceFactory->createDataSource('elastica', [
    'searchable' => $elasticaIndex, // instance of \Elastica\SearchableInterface
    'query' => null,
    'filter' => null,
    'master_query' => null,
], 'datasource_id');
```

Tests
-----

[](#tests)

```
docker-compose up
php vendor/bin/phpunit
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 67.5% 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.

###  Release Activity

Cadence

Every ~333 days

Recently: every ~441 days

Total

10

Last Release

1229d ago

Major Versions

v0.7.0 → v1.0.02021-04-29

PHP version history (3 changes)0.1.0PHP &gt;=5.3.0

v0.6.0PHP ^7.1

v1.0.0PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![rn0](https://avatars.githubusercontent.com/u/15381?v=4)](https://github.com/rn0 "rn0 (54 commits)")[![chives](https://avatars.githubusercontent.com/u/1170578?v=4)](https://github.com/chives "chives (20 commits)")[![szymach](https://avatars.githubusercontent.com/u/2230556?v=4)](https://github.com/szymach "szymach (3 commits)")[![bartekgruszka](https://avatars.githubusercontent.com/u/8686375?v=4)](https://github.com/bartekgruszka "bartekgruszka (2 commits)")[![JarekW](https://avatars.githubusercontent.com/u/4487772?v=4)](https://github.com/JarekW "JarekW (1 commits)")

---

Tags

elasticsearchdatasourcedrivercomponentelasticafsi

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fsi-datasource-elastica-driver/health.svg)

```
[![Health](https://phpackages.com/badges/fsi-datasource-elastica-driver/health.svg)](https://phpackages.com/packages/fsi-datasource-elastica-driver)
```

###  Alternatives

[jolicode/elastically

Opinionated Elastica based framework to bootstrap PHP and Elasticsearch implementations.

2571.7M1](/packages/jolicode-elastically)[babenkoivan/elastic-scout-driver

Elasticsearch driver for Laravel Scout

2773.8M5](/packages/babenkoivan-elastic-scout-driver)[babenkoivan/elastic-scout-driver-plus

Extension for Elastic Scout Driver

2862.8M1](/packages/babenkoivan-elastic-scout-driver-plus)[heyday/silverstripe-elastica

Provides Elastic Search integration for SilverStripe DataObjects using Elastica

1136.8k2](/packages/heyday-silverstripe-elastica)[michaeljennings/laralastica

A laravel package that allows you to search eloquent results using elasticsearch.

102.9k](/packages/michaeljennings-laralastica)

PHPackages © 2026

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