PHPackages                             prinx/slack-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. prinx/slack-log

ActiveLibrary

prinx/slack-log
===============

Simply log to Slack

v2.0.0(3y ago)01172MITPHP

Since Apr 22Pushed 3y ago1 watchersCompare

[ Source](https://github.com/prinx/slack-log-php)[ Packagist](https://packagist.org/packages/prinx/slack-log)[ RSS](/packages/prinx-slack-log/feed)WikiDiscussions main Synced yesterday

READMEChangelog (6)Dependencies (4)Versions (7)Used By (2)

Simple log-to-Slack util
========================

[](#simple-log-to-slack-util)

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

[](#installation)

```
composer require prinx/slack-log
```

Usage
-----

[](#usage)

First create a Slack [incoming webhook](google.com?q=create+slack+incoming+webhook).

In your `.env` file, at the root of your project, configure the webhook.

```
SLACK_LOG_WEBHOOK=https://hooks...

# Optional. True by default
SLACK_LOG_ENABLED=true
```

Then in your code, log:

```
// PHP
use Prinx\SlackLog;

SlackLog::debug('✔️ User logged in.');
SlackLog::info('...');
SlackLog::notice('...');
SlackLog::warning('...');
SlackLog::error('...');
SlackLog::critical('...');
SlackLog::alert('...');
SlackLog::emergency('...');
```

Contribute
----------

[](#contribute)

- Star this repo
- Fork this repo
- Add a missing feature
- Create a pull request
- Receive the glory

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~125 days

Recently: every ~154 days

Total

6

Last Release

1221d ago

Major Versions

v1.2.2 → v2.0.02023-01-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/896d24b4882562faf6f1c8c25ea90e515037f5811f251a11fd80b68db61fc458?d=identicon)[Prinx](/maintainers/Prinx)

---

Top Contributors

[![prinx](https://avatars.githubusercontent.com/u/7337610?v=4)](https://github.com/prinx "prinx (21 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prinx-slack-log/health.svg)

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

###  Alternatives

[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[mahocommerce/maho

Free and open source ecommerce platform, created in 2024 on the M1 platform, PHP 8.3+

1322.1k12](/packages/mahocommerce-maho)

PHPackages © 2026

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