PHPackages                             tasmidur/zinc-search-monolog-handler - 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. tasmidur/zinc-search-monolog-handler

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

tasmidur/zinc-search-monolog-handler
====================================

ZincSearch Monolog Handler is used for pushing laravel log into the ZincSearch for collection and analysis

1.0.0(3y ago)03.3k1MITPHPPHP ^8.0

Since Sep 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tasmidur/zinc-search-monolog-handler)[ Packagist](https://packagist.org/packages/tasmidur/zinc-search-monolog-handler)[ Docs](https://github.com/tasmidur/zinc-search-monolog-handler)[ RSS](/packages/tasmidur-zinc-search-monolog-handler/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Zinc Search Monolog Handler
===========================

[](#zinc-search-monolog-handler)

Searching for logs for your applications can be tedious and challenging. ZincSearch solves the problem very elegantly. You can use standard log forwarders like fluentd, fluent-bit, vector, syslog-ng or others to forward logs to ZincSearch. ZincSearch can then store the indexed logs in S3 or on disk and provide fast search for your logs.

ZincSearch Monolog Handler is used for pushing laravel log into the ZincSearch for collection and analysis.
-----------------------------------------------------------------------------------------------------------

[](#zincsearch--monolog-handler-is-used-for-pushing-laravel-log-into-the-zincsearch-for-collection-and-analysis)

Log forwarders can read the log files incrementally as new logs appear in them and can then forward them in batches in order to be more efficient in sending them

Requirements
------------

[](#requirements)

Install ZincSearch using [docker-compose.yml](https://github.com/tasmidur/zinc-search-monolog-handler/blob/master/docker-compose.yml)
-------------------------------------------------------------------------------------------------------------------------------------

[](#install-zincsearch-using-docker-composeyml)

or you can install by following [this documentation](https://docs.zincsearch.com/installation/)

Install
-------

[](#install)

Install [zinc-search-monolog-handler](https://packagist.org/packages/tasmidur/zinc-search-monolog-handler).

```
composer require tasmidur/zinc-search-monolog-handler
```

Get Started
-----------

[](#get-started)

1.Modify `config/logging.php`.

```
return [
    'channels' => [
        // ...
        "zincSearch" => \Tasmidur\ZincSearchMonologHandler\ZincSearchLogger::getInstance(
            indexName: env('ZINC_SEARCH_INDEX', "zinc_log"),
            baseUrl: env('ZINC_SEARCH_BASE_URL', 'http://admin:admin123@localhost:4080/api')
        ),
    ],
];
```

### ZincSearch with SSL\_VERIFY

[](#zincsearch-with-ssl_verify)

```
return [
    'channels' => [
        // ...
       "zincSearch" => \Tasmidur\ZincSearchMonologHandler\ZincSearchLogger::getInstance(
            indexName: env('LOG_INDEX', "zinc_log"),
            baseUrl: env('ZINC_SEARCH_BASE_URL', 'http://admin:admin123@localhost:4080/api'),
            options: [
                "is_ssl_verify" => true //true or false
            ]
        ),
    ],
];
```

2.Modify `.env`.

```
LOG_CHANNEL=zincSearch
ZINC_SEARCH_INDEX=zinc_log
ZINC_SEARCH_BASE_URL=url

```

The system Log view in ZincSearch
---------------------------------

[](#the-system-log-view-in-zincsearch)

[![ZincSearch](https://github.com/tasmidur/zinc-search-monolog-handler/raw/master/zinc-search-dashboard.png)](https://github.com/tasmidur/zinc-search-monolog-handler/blob/master/zinc-search-dashboard.png)

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

1390d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18406635?v=4)[Md Tasmidur Rahman](/maintainers/tasmidur)[@tasmidur](https://github.com/tasmidur)

---

Top Contributors

[![tasmidur](https://avatars.githubusercontent.com/u/18406635?v=4)](https://github.com/tasmidur "tasmidur (5 commits)")[![piyal-ict-mbstu](https://avatars.githubusercontent.com/u/30130475?v=4)](https://github.com/piyal-ict-mbstu "piyal-ict-mbstu (4 commits)")

---

Tags

laravellaravel-frameworkloggermonologzincsearchlaravellumenloggerLaravel logmonolog handlerzincSearch monolog handlerlaravel zincSearch monolog handlerlumen zincSearch monolog handler

### Embed Badge

![Health badge](/badges/tasmidur-zinc-search-monolog-handler/health.svg)

```
[![Health](https://phpackages.com/badges/tasmidur-zinc-search-monolog-handler/health.svg)](https://phpackages.com/packages/tasmidur-zinc-search-monolog-handler)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[ytake/laravel-aspect

Aspect Oriented Programming library for laravel framework, and lumen

138141.3k1](/packages/ytake-laravel-aspect)[spatie/laravel-flare

Send Laravel errors to Flare

111.4M7](/packages/spatie-laravel-flare)

PHPackages © 2026

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