PHPackages                             itt/logger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. itt/logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

itt/logger
==========

Opensearch logger handler

0.3(2y ago)0991MITPHP

Since Aug 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/legik777/itt-logger)[ Packagist](https://packagist.org/packages/itt/logger)[ RSS](/packages/itt-logger/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel log driver for opensearch
=================================

[](#laravel-log-driver-for-opensearch)

This is a fork of  but uses  as a client

Installation
============

[](#installation)

```
$ composer require itt/logger
$ php artisan vendor:publish --tag=itt.logger
```

Config
======

[](#config)

You can modify config in `config/ittlogger.php`.

Now we can add the `channel` of `channels` in `config/logging.php` file.

```
use Itt\Logger\OpensearchLogger;

'channels' => [
    'opensearch' => [
        'driver' => 'custom',
        'via' => OpensearchLogger::class,
    ],
],
```

Add the `\Itt\Logger\Http\Middleware\BulkCollectionLog` middleware to `App\Http\Kernel.php` file.

```
/**
 * The application's global HTTP middleware stack.
 *
 * These middleware are run during every request to your application.
 *
 * @var array
 */
protected $middleware = [
    \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
    \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
    \App\Http\Middleware\TrimStrings::class,
    \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
    \App\Http\Middleware\TrustProxies::class,
    \Itt\Logger\Http\Middleware\BulkCollectionLog::class
];
```

Now define the environment variable in `.env` file like this:

```
LOG_CHANNEL=opensearch
OPENSEARCH_HOST=localhost
OPENSEARCH_PORT=9200
OPENSEARCH_SCHEME=http
OPENSEARCH_USER=
OPENSEARCH_PASS=

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Every ~6 days

Total

3

Last Release

1041d ago

### Community

Maintainers

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

---

Top Contributors

[![legik777](https://avatars.githubusercontent.com/u/75944488?v=4)](https://github.com/legik777 "legik777 (17 commits)")

---

Tags

opensearchlogger

### Embed Badge

![Health badge](/badges/itt-logger/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

10.3k2.2k](/packages/unopim-unopim)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14844.4k1](/packages/guanguans-laravel-exception-notify)[shopware/elasticsearch

Elasticsearch for Shopware

143.8M15](/packages/shopware-elasticsearch)[betterde/logger

Elasticsearch logger handler

3131.1k](/packages/betterde-logger)[lion/bundle

Lion-framework configuration and initialization package

122.3k3](/packages/lion-bundle)

PHPackages © 2026

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