PHPackages                             liquirice/qelastic - 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. liquirice/qelastic

ActiveLibrary

liquirice/qelastic
==================

A Laravel Service Provider push user behavior log to Aws sqs then insert into elasticsearch

v1.0.0(10y ago)113PHPPHP &gt;=5.3.0

Since Dec 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Liquir-ice/qelastic)[ Packagist](https://packagist.org/packages/liquirice/qelastic)[ RSS](/packages/liquirice-qelastic/feed)WikiDiscussions master Synced 1mo ago

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

\#Qelastic
----------

[](#qelastic)

![Latest Stable Version](https://camo.githubusercontent.com/b2277bdd73f56ead6207d7ded17c093054d53ef8eefe80b578f8de268d4be125/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c61726176656c2d352e312d677265656e2e737667) ![License MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)

[![](https://camo.githubusercontent.com/2402192ba8839a6b3e6b96cd03b1d787089ed1bdb11f9004273a5e8b460d1d1e/68747470733a2f2f7777772e656c61737469632e636f2f7374617469632f696d672f6c6f676f2d656c61737469632e706e67)](https://camo.githubusercontent.com/2402192ba8839a6b3e6b96cd03b1d787089ed1bdb11f9004273a5e8b460d1d1e/68747470733a2f2f7777772e656c61737469632e636f2f7374617469632f696d672f6c6f676f2d656c61737469632e706e67)

A Laravel Service Provider push user behavior log or any log to [Aws sqs](https://aws.amazon.com/sqs/). Using `php artisan queue:listen` to digest the queue and insert data into [elasticsearch](https://www.elastic.co/).

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

[](#installation)

Install using composer:

```
$ composer require liquirice/elasticlog
$ composer install
```

Install manually in `composer.json`:

```
"require": {
    ...
    "liquirice/qelastic": "~1.0.0"
    ...
},
```

Laravel (optional)
------------------

[](#laravel-optional)

Add the service provider in `app/config/app.php`:

```
'providers' => array(
    ...
    Liquirice\Qelastic\QelasticServiceProvider::class,
    ...
)
```

We have already added the Qelastic alias for you:

```
'aliases' => array(
    ...
    'Qelastic' => 'Liquirice\Qelastic\Facades\Qelastic',
    ...
)
```

Environment setting
-------------------

[](#environment-setting)

Add the elasticsearch hostname and queue path in `.env`:

```
...
ELASTICSEARCH_HOST=127.0.0.1:9200
QUEUE_PATH=App\Jobs\Track\UserBehavior
...
```

Basic Usage
-----------

[](#basic-usage)

Start by creating an `Qelastic` instance (or use the `Qelastic` Facade if you are using Laravel):

```
Qelastic::pushToQueue(array(
    'user_id' => '1',
    'action' => 'click',
    'object' => 'event',
    'object_id' => '50786',
    'param' => '{
        "user_name": "admin",
        "email" : "admin@example.com"
    }'
))
```

> **Note:** Test case not yet finish
>
> 1. Check input data is array or not.
> 2. Test unexpected data insert.
> 3. Check data whether push to queue or not.

License
-------

[](#license)

Qelastic is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

3805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/360e2e0835f39bac372f425ee17b2e8652738539a35c4c23fcf05acaeac70dcd?d=identicon)[liquirice](/maintainers/liquirice)

---

Top Contributors

[![Liquir-ice](https://avatars.githubusercontent.com/u/2898731?v=4)](https://github.com/Liquir-ice "Liquir-ice (6 commits)")

### Embed Badge

![Health badge](/badges/liquirice-qelastic/health.svg)

```
[![Health](https://phpackages.com/badges/liquirice-qelastic/health.svg)](https://phpackages.com/packages/liquirice-qelastic)
```

###  Alternatives

[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M54](/packages/timacdonald-log-fake)[mailerlite/laravel-elasticsearch

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

934529.3k2](/packages/mailerlite-laravel-elasticsearch)[jeroen-g/explorer

Next-gen Elasticsearch driver for Laravel Scout.

397612.3k](/packages/jeroen-g-explorer)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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