PHPackages                             stryber/laravel-log-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. stryber/laravel-log-handler

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

stryber/laravel-log-handler
===========================

Stryber Laravel Log Handler for Laravel Framework

v8.1(5y ago)08.3kproprietaryPHPPHP ^8.0

Since Jul 2Pushed 4y ago5 watchersCompare

[ Source](https://github.com/stryberventures/StryberPhpLaravelLogger)[ Packagist](https://packagist.org/packages/stryber/laravel-log-handler)[ RSS](/packages/stryber-laravel-log-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (23)Used By (0)

[![Stryber Logo](https://camo.githubusercontent.com/ef84f69788a9b9a0197399eb665c7f39133f29721b6dab3faf945a442cf4b98d/68747470733a2f2f67386932623275382e726f636b657463646e2e6d652f77702d636f6e74656e742f75706c6f6164732f323031392f31322f537472796265722d77686974652d6c6f676f2d312e706e67)](https://camo.githubusercontent.com/ef84f69788a9b9a0197399eb665c7f39133f29721b6dab3faf945a442cf4b98d/68747470733a2f2f67386932623275382e726f636b657463646e2e6d652f77702d636f6e74656e742f75706c6f6164732f323031392f31322f537472796265722d77686974652d6c6f676f2d312e706e67)

Stryber Log Handler for Laravel
===============================

[](#stryber-log-handler-for-laravel)

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)

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

[](#requirements)

- PHP ^7.4
- Laravel ^7.0

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

[](#installation)

```
composer require stryber/laravel-log-handler
```

Configuration
-------------

[](#configuration)

You can publish the config files with the following command:

```
php artisan vendor:publish --tag="stryber-logging"
```

Now you have 2 new config files: `stryber-logging.php` and `stryber-logging-middleware.php`

The first one, `stryber-logging.php`, is using to configure laravel logger and will be merged with your `logging.php` config. In most cases you dont need to change this file, so it's safe to delete or event don't publish.

The second one, `stryber-logging-middleware.php` is using for populate `Stryber\Logger\LoggerMiddleware` and collectors constructor params. It already contains some widely used values, but you can change them to fit your project requirements as you want.

After configuration you will able to use `Log::channel('stderr')` for logging errors and `Log::channel('stdout')`for other logs. You should remove this channels from `logging.php` configuration file if you have them.

To use logging middleware for logging every pair of request and response you should use `Stryber\Logger\LoggerMiddleware` class or it simple alias `'log'`

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~19 days

Recently: every ~88 days

Total

20

Last Release

1779d ago

Major Versions

v0.1.3 → v1.0.02020-07-06

v1.0.2 → v8.0.02021-03-09

PHP version history (2 changes)v0.0.1PHP &gt;=7.4

v8.1PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d5feefde0858e3201561db718d586c9059063fa86de30c45dcdafad5244d251?d=identicon)[M1crogravity](/maintainers/M1crogravity)

---

Top Contributors

[![slia-stryber](https://avatars.githubusercontent.com/u/62644437?v=4)](https://github.com/slia-stryber "slia-stryber (3 commits)")[![zhylinskiy-stryber](https://avatars.githubusercontent.com/u/61143234?v=4)](https://github.com/zhylinskiy-stryber "zhylinskiy-stryber (1 commits)")

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/stryber-laravel-log-handler/health.svg)

```
[![Health](https://phpackages.com/badges/stryber-laravel-log-handler/health.svg)](https://phpackages.com/packages/stryber-laravel-log-handler)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[illuminate/log

The Illuminate Log package.

6224.3M516](/packages/illuminate-log)[hedii/laravel-gelf-logger

A Laravel package to send logs to a gelf compatible backend like graylog

1333.4M10](/packages/hedii-laravel-gelf-logger)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2222.9M248](/packages/open-telemetry-sdk)[vinelab/tracing-laravel

Distributed tracing for Laravel made easy

80118.7k1](/packages/vinelab-tracing-laravel)

PHPackages © 2026

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