PHPackages                             emiliosh/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. emiliosh/itt-logger

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

emiliosh/itt-logger
===================

Opensearch logger handler

0.4(2y ago)03MITPHP

Since Aug 4Pushed 2y agoCompare

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

READMEChangelog (1)Dependencies (4)Versions (5)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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.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 ~17 days

Total

4

Last Release

959d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

opensearchlogger

### Embed Badge

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

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

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[inpsyde/wonolog

Monolog-based logging package for WordPress.

183617.9k7](/packages/inpsyde-wonolog)[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).

14642.7k1](/packages/guanguans-laravel-exception-notify)[amphp/log

Non-blocking logging for PHP based on Amp, Revolt, and Monolog.

402.6M70](/packages/amphp-log)[logtail/monolog-logtail

Logtail handler for Monolog

233.2M3](/packages/logtail-monolog-logtail)[betterde/logger

Elasticsearch logger handler

3230.4k](/packages/betterde-logger)

PHPackages © 2026

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