PHPackages                             justinianus/stdio-log - 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. justinianus/stdio-log

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

justinianus/stdio-log
=====================

STDIO's Log Laravel.

11PHP

Since Jun 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Justinianus2001/stdio-log)[ Packagist](https://packagist.org/packages/justinianus/stdio-log)[ RSS](/packages/justinianus-stdio-log/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Documentation
=============

[](#documentation)

Getting started with StdioLogHelper, use Composer command to add the package to your Laravel project's dependencies.

```
composer require justinianus/stdio-log
composer dump-autoload
```

Then register new package service provider to config/app.php

```
'providers' => [
	Justinianus\StdioLog\StdioServiceProvider::class,
],
```

Setup Channel
-------------

[](#setup-channel)

Create new channel 'slack-log' for Slack message into config/logging.php to send message log via Slack

```
'slack-log' => [
	'driver' => 'slack',
	'url' => env('LOG_SLACK_WEBHOOK_URL'),
	'username' => 'Laravel Log',
	'emoji' => ':boom:',
	'level' => env('LOG_LEVEL', 'critical'),
],
```

Add environment variable into .env for the incoming webhook receive from Slack application.

```
LOG_SLACK_WEBHOOK_URL=YOUR_INCOMING_WEBHOOK_SLACK_URL
```

Usage
-----

[](#usage)

Declare library before using.

```
use Justinianus\StdioLog\Helpers\StdioLogHelper;
```

### Log for Back-End

[](#log-for-back-end)

```
StdioLogHelper::writeFileLog(StdioLogHelper::LOG_LEVEL_CONST, 'log-channel-name', Exception $exception, Request $request, [$booleanSendSlack]);
```

### Callback for Front-End

[](#callback-for-front-end)

```
StdioLogHelper::callback(Request $request, [$booleanSendSlack, StdioLogHelper::LOG_LEVEL_CONST, 'log-channel-name']);
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/38d2731748fd2f1448379ece7b5140b9277f799bfcaf6f5ec4a1566421718e09?d=identicon)[Justinianus2001](/maintainers/Justinianus2001)

---

Top Contributors

[![Justinianus2001](https://avatars.githubusercontent.com/u/60839552?v=4)](https://github.com/Justinianus2001 "Justinianus2001 (1 commits)")

---

Tags

laravelpackagepackagistphp

### Embed Badge

![Health badge](/badges/justinianus-stdio-log/health.svg)

```
[![Health](https://phpackages.com/badges/justinianus-stdio-log/health.svg)](https://phpackages.com/packages/justinianus-stdio-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.4k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M274](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M338](/packages/open-telemetry-sdk)

PHPackages © 2026

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