PHPackages                             doclassif/elastic - 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. doclassif/elastic

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

doclassif/elastic
=================

Laravel Elastic custom formatter

v2.2.1(1mo ago)11981MITPHP

Since Apr 21Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Doclassif/elastic)[ Packagist](https://packagist.org/packages/doclassif/elastic)[ RSS](/packages/doclassif-elastic/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (8)Versions (16)Used By (0)

Elastic custom formatter
========================

[](#elastic-custom-formatter)

[![Latest Stable Version](https://camo.githubusercontent.com/b2ec4158d3c58ceabdab13ffcc3ca46b2f8d648d989fbb7472b8b3ccbe5d004a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f636c61737369662f656c6173746963)](https://packagist.org/packages/doclassif/elastic)

Запуск в dev container VScode
-----------------------------

[](#запуск-в-dev-container-vscode)

1. Open project
2. F1 -&gt; Dev Containers: Rebuild and Reopen in Container

Запуск тестов (которые будут в обозримом будущем)
-------------------------------------------------

[](#запуск-тестов-которые-будут-в-обозримом-будущем)

```
composer test
```

3. Добавить конфигурацию в `config/logging.php` (актуальная конфигурация в документации пакета)

```
     'channels' => [
        'stack' => [
            'driver' => 'stack',
            'channels' => ['stdout', 'daily', 'elasticsearch'],
            'ignore_exceptions' => false,
        ],

         'elasticsearch' => [
            'driver'         => 'monolog',
            'level'          => 'debug',
            'handler'        => Kali\Elastic\ElasticsearchHandler::class,
            'formatter'      => Kali\Elastic\ElasticsearchFormatter::class,
            'formatter_with' => [
                'index' => env('ELASTIC_LOGS_INDEX'),
                'type'  => '_doc',
            ],
            'handler_with'   => [
                'hosts' => [env('ELASTIC_HOST', "http://elasticsearch:9200/")],
                'options' => [
                    'ignore_error' => env('ELASTIC_IGNORE_ERROR', true),
                ]
            ],
        ],
    ],
```

.env переменные

```
ELASTIC_HOST=elasticsearch:9200
ELASTIC_LOGS_INDEX=test_logs

```

4. Выполнить `php artisan vendor:publish` и выбрать `Elastic\Providers\ElasticServiceProvider`

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance92

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~94 days

Recently: every ~195 days

Total

13

Last Release

39d ago

Major Versions

1.0.6 → 2.0.72023-04-21

1.0.7 → 2.0.82023-05-11

1.0.8 → 2.0.92023-05-11

1.1.0 → 2.1.12024-05-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25744932?v=4)[Artyom](/maintainers/Doclassif)[@Doclassif](https://github.com/Doclassif)

---

Top Contributors

[![Doclassif](https://avatars.githubusercontent.com/u/25744932?v=4)](https://github.com/Doclassif "Doclassif (5 commits)")[![a-daniletsky](https://avatars.githubusercontent.com/u/231821497?v=4)](https://github.com/a-daniletsky "a-daniletsky (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/doclassif-elastic/health.svg)

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

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[brianhenryie/strauss

Prefixes dependencies namespaces so they are unique to your plugin

190438.1k36](/packages/brianhenryie-strauss)

PHPackages © 2026

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