PHPackages                             kevariable/laravel-slack-logging - 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. kevariable/laravel-slack-logging

ActiveLibrary

kevariable/laravel-slack-logging
================================

Report your Errors onto Slack

v1.2.0(2mo ago)01.5k↓50%[1 PRs](https://github.com/kevariable/laravel-slack-logging/pulls)MITPHPPHP ^8.2CI passing

Since Feb 26Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/kevariable/laravel-slack-logging)[ Packagist](https://packagist.org/packages/kevariable/laravel-slack-logging)[ Docs](https://github.com/kevariable/laravel-slack-logging)[ GitHub Sponsors](https://github.com/kevariable)[ RSS](/packages/kevariable-laravel-slack-logging/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (24)Versions (7)Used By (0)

Laravel Slack Logging
=====================

[](#laravel-slack-logging)

[![Latest Version on Packagist](https://camo.githubusercontent.com/42791c05ba1945cb35e62ee13a8c4cb5b0ff19de8c55f79feadc65a9f74a2578/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b657661726961626c652f6c61726176656c2d736c61636b2d6c6f6767696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kevariable/laravel-slack-logging)[![GitHub Tests Action Status](https://camo.githubusercontent.com/79b92622408ecb59e3baf71fcd007b01f918ab960a351619db3e1f453e0d1039/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b657661726961626c652f6c61726176656c2d736c61636b2d6c6f6767696e672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/kevariable/laravel-slack-logging/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a4624474fa8f4c08ede44702dddf6e1b738cf6ad69f7bdfe849845434541e7bc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b657661726961626c652f6c61726176656c2d736c61636b2d6c6f6767696e672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/kevariable/laravel-slack-logging/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/af6eae513f67e771472d65888c4b659cb4bb71baa1528c188284ddab4498de11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b657661726961626c652f6c61726176656c2d736c61636b2d6c6f6767696e672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kevariable/laravel-slack-logging)

Laravel Slack Logging is a package that allows you to send Laravel logs directly to a Slack channel using webhooks. It provides an easy and efficient way to monitor your application's logs in real-time within your Slack workspace.

Preview
-------

[](#preview)

[![image](https://private-user-images.githubusercontent.com/56016477/424059593-b3911287-0f0d-4422-8b4e-bccb0607e04f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIyNjk4ODUsIm5iZiI6MTc3MjI2OTU4NSwicGF0aCI6Ii81NjAxNjQ3Ny80MjQwNTk1OTMtYjM5MTEyODctMGYwZC00NDIyLThiNGUtYmNjYjA2MDdlMDRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjI4VDA5MDYyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzMDk1MjkxYzU5MjExN2VkNmJmZTRmYjU1MDM5ZDFhN2Y0ZGQ1NmQ1ODc5OGQzNzY2ODFkOTFhNGJlY2RjZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xcRVRzBbDFa1fy6sziDUOFSPKvPJLPmuqjPtY_7vKjs)](https://private-user-images.githubusercontent.com/56016477/424059593-b3911287-0f0d-4422-8b4e-bccb0607e04f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzIyNjk4ODUsIm5iZiI6MTc3MjI2OTU4NSwicGF0aCI6Ii81NjAxNjQ3Ny80MjQwNTk1OTMtYjM5MTEyODctMGYwZC00NDIyLThiNGUtYmNjYjA2MDdlMDRmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjI4VDA5MDYyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzMDk1MjkxYzU5MjExN2VkNmJmZTRmYjU1MDM5ZDFhN2Y0ZGQ1NmQ1ODc5OGQzNzY2ODFkOTFhNGJlY2RjZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.xcRVRzBbDFa1fy6sziDUOFSPKvPJLPmuqjPtY_7vKjs)Installation
------------

[](#installation)

You can install the package via Composer:

```
composer require kevariable/laravel-slack-logging
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-slack-logging-config"
```

Usage
-----

[](#usage)

After installing the package, configure the Slack webhook URL in your `.env` file:

```
SLACK_LOGGING_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK
```

Then, add the Slack logging channel to your `config/logging.php` file:

```
'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'slack'],
        ...
    ],

    'slack' => [
        'driver' => 'slack-logging',
        ...
    ],
],
```

Now, Laravel will send logs to Slack based on the configured log level.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [kevariable](https://github.com/kevariable)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance81

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.4% 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 ~93 days

Total

5

Last Release

75d ago

Major Versions

v0.1.1-beta → v1.0.02025-03-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/5276352ab95e8962d1123ed3fc3a54e253d3262ec0859e289baa150d60ccd9c8?d=identicon)[kevariable](/maintainers/kevariable)

---

Top Contributors

[![kevariable](https://avatars.githubusercontent.com/u/56016477?v=4)](https://github.com/kevariable "kevariable (29 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelkevariablelaravel-slack-logging

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kevariable-laravel-slack-logging/health.svg)

```
[![Health](https://phpackages.com/badges/kevariable-laravel-slack-logging/health.svg)](https://phpackages.com/packages/kevariable-laravel-slack-logging)
```

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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