PHPackages                             hiromi2424/cakephp-slack-log-engine - 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. hiromi2424/cakephp-slack-log-engine

ActiveCakephp-plugin[Logging &amp; Monitoring](/categories/logging)

hiromi2424/cakephp-slack-log-engine
===================================

Slack log engine for CakePHP

v1.0-RC1(9y ago)1855MIT

Since Dec 16Compare

[ Source](https://github.com/hiromi2424/cakephp-slack-log-engine)[ Packagist](https://packagist.org/packages/hiromi2424/cakephp-slack-log-engine)[ Docs](https://github.com/hiromi2424/cakephp-slack-log-engine)[ RSS](/packages/hiromi2424-cakephp-slack-log-engine/feed)WikiDiscussions Synced today

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

[![Build Status](https://camo.githubusercontent.com/11383c4df14587da0a2ded6d1c352e1a7a6135d9be2523f47398b4b2b73b1acb/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6869726f6d69323432342f63616b657068702d736c61636b2d6c6f672d656e67696e652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/hiromi2424/cakephp-slack-log-engine)[![Coverage Status](https://camo.githubusercontent.com/0ca2d8bfd1a6ebd4742014f97b0faf9398e9c2f40cac99f1c07cb1ccb09687bc/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6869726f6d69323432342f63616b657068702d736c61636b2d6c6f672d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/github/hiromi2424/cakephp-slack-log-engine)[![Total Downloads](https://camo.githubusercontent.com/f6400f8f715055d0393bb5fe669b10e100d745cd36ca67657222fd3d7b4d58bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6869726f6d69323432342f63616b657068702d736c61636b2d6c6f672d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hiromi2424/cakephp-slack-log-engine)[![Latest Stable Version](https://camo.githubusercontent.com/9cf701998a8d1a0dccaa54d046363eeef81cad31fe1856031a24c762c9942e0e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6869726f6d69323432342f63616b657068702d736c61636b2d6c6f672d656e67696e652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hiromi2424/cakephp-slack-log-engine)[![Scrutinizer](https://camo.githubusercontent.com/d1805efa967f25f18e82ab9bece015b1d372fd0be8ee668176363cd6e9a7fb71/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6869726f6d69323432342f63616b657068702d736c61636b2d6c6f672d656e67696e652e737667)](https://scrutinizer-ci.com/g/hiromi2424/cakephp-slack-log-engine/)

What is this?
-------------

[](#what-is-this)

This is CakePHP plugin to provide a log engine that post to slack using incoming webhooks.

Please see detail [how to configure webhooks on slack](https://api.slack.com/incoming-webhooks).

The engine uses [Slack for PHP](https://github.com/maknz/slack) and is just thin wrapper for the library.

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

[](#installation)

```
composer require hiromi2424/cakephp-slack-log-engine

```

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

[](#requirements)

- CakePHP 3.x
- PHP 5.5+

Usage
-----

[](#usage)

### Configure log

[](#configure-log)

In your app.php, you can configure like:

```
'Log' => [
    'error' => [
        'className' => 'SlackLogEngine\Log\Engine\SlackLogEngine',
        // Your slack hook URL here
        'hookUrl' => 'https://hooks.slack.com/services/xxxxx/xxxxx/xxxxxxxxxx',
        // Send logs of following levels to slack
        'levels' => ['error', 'critical', 'alert', 'emergency'],
    ],
],

```

### Log options

[](#log-options)

Either `client` or `hookUrl` is required.

- `hookUrl` \[string\] Slack hook url.
- `client` \[\\Maknz\\Slack\\Client\] Slack client instance for custom.
- `clientClass` \[string(optional)\] slack client class. This option is used only with `hookUrl` option.

Other available settings can be seen at [Slack for PHP Official Docs](https://github.com/maknz/slack#settings)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

Total

2

Last Release

3484d ago

Major Versions

v0.1-beta → v1.0-RC12016-12-16

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/191297?v=4)[Hiroki Shimizu](/maintainers/hiromi2424)[@hiromi2424](https://github.com/hiromi2424)

---

Tags

logcakephpslackcake

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hiromi2424-cakephp-slack-log-engine/health.svg)

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

###  Alternatives

[saasscaleup/laravel-log-alarm

Laravel log Alarm help you to set up alarm when errors occur in your system and send you a notification via Slack and email

26927.9k](/packages/saasscaleup-laravel-log-alarm)[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).

14844.4k1](/packages/guanguans-laravel-exception-notify)[robwilkerson/cakephp-audit-log-plugin

Audit Plugin for CakePHP

10068.1k](/packages/robwilkerson-cakephp-audit-log-plugin)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12299.8k](/packages/lordsimal-cakephp-sentry)[sandreu/cake-sentry

Sentry error handler plugin for CakePHP2

1640.4k](/packages/sandreu-cake-sentry)

PHPackages © 2026

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