PHPackages                             basster/cilex-elastica - 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. basster/cilex-elastica

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

basster/cilex-elastica
======================

A Cilex Service Provider for Elastica

1.0(10y ago)1375MITPHP

Since Oct 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Basster/cilex-elastica)[ Packagist](https://packagist.org/packages/basster/cilex-elastica)[ RSS](/packages/basster-cilex-elastica/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

basster/cilex-elastica
======================

[](#basstercilex-elastica)

[![Build Status](https://camo.githubusercontent.com/ac70b3d185b6591987d7576062d91f5b6eafeee73a853f7c84c5683a307a4c7a/68747470733a2f2f7472617669732d63692e6f72672f426173737465722f63696c65782d656c6173746963612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Basster/cilex-elastica) [![SensioLabsInsight](https://camo.githubusercontent.com/69d2b96380b931ddf8c9b137b794579eddaf004c4a30704f0d2234a9aec172b3/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64313537343232632d393132632d343031352d616333302d3362393839313831333738662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/d157422c-912c-4015-ac30-3b989181378f)

This is a service provider for [Cilex](http://cilex.github.io/) which makes access to [Elasticsearch](http://www.elasticsearch.org) available through [Elastica](http://elastica.io).

This library is a Cilex adaptation of [easybib/silex-elastica](https://github.com/easybiblabs/silex-elastica).

Getting Started
---------------

[](#getting-started)

Set up the dependency on this package using [Composer](http://packagist.org/about-composer). Once you have a Silex application skeleton you can register the service provider and set Elastica options:

```
$app->register(new Basster\Cilex\Elastica\Provider\ElasticaProvider(), [
    'elastica.client_options' => [
        'host' => 'localhost',
        'port' => 9200,
    ],
]);
```

The full set of options is available on the [Elastica documentation](http://elastica.io).

License
-------

[](#license)

The code is available under the [MIT](LICENSE) license.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Unknown

Total

1

Last Release

3929d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1265783?v=4)[Ole Rößner](/maintainers/Basster)[@Basster](https://github.com/Basster)

---

Top Contributors

[![Basster](https://avatars.githubusercontent.com/u/1265783?v=4)](https://github.com/Basster "Basster (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/basster-cilex-elastica/health.svg)

```
[![Health](https://phpackages.com/badges/basster-cilex-elastica/health.svg)](https://phpackages.com/packages/basster-cilex-elastica)
```

###  Alternatives

[friendsofsymfony/elastica-bundle

Elasticsearch PHP integration for your Symfony project using Elastica

1.3k17.9M50](/packages/friendsofsymfony-elastica-bundle)

PHPackages © 2026

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