PHPackages                             lfelin/laravel-tracetoslack - 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. lfelin/laravel-tracetoslack

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

lfelin/laravel-tracetoslack
===========================

Send your traceback on a channel of slack

v1.0.1(9y ago)033MITPHP &gt;=5.5.9

Since Jul 1Compare

[ Source](https://github.com/LFelin/laravel-tracetoslack)[ Packagist](https://packagist.org/packages/lfelin/laravel-tracetoslack)[ RSS](/packages/lfelin-laravel-tracetoslack/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (2)Versions (9)Used By (0)

Laravel Trace to Slack
======================

[](#laravel-trace-to-slack)

[![License](https://camo.githubusercontent.com/1dc60b2f748f97147477217e61944721ecff9712594502e17c8a42eb01717b1a/68747470733a2f2f706f7365722e707567782e6f72672f6c66656c696e2f6c61726176656c2d7472616365746f736c61636b2f6c6963656e7365)](https://packagist.org/packages/lfelin/laravel-tracetoslack)[![Latest Stable Version](https://camo.githubusercontent.com/f8835b56534c4336f9bdb80b7a8a3abb2dd8a05d7122e3c4c97c169d5d458955/68747470733a2f2f706f7365722e707567782e6f72672f6c66656c696e2f6c61726176656c2d7472616365746f736c61636b2f762f737461626c65)](https://packagist.org/packages/lfelin/laravel-tracetoslack)[![Total Downloads](https://camo.githubusercontent.com/a73a046c8e5a855ede061ffcd3a373d1af28b2f53f48e4a10d66f7ef745fadff/68747470733a2f2f706f7365722e707567782e6f72672f6c66656c696e2f6c61726176656c2d7472616365746f736c61636b2f646f776e6c6f616473)](https://packagist.org/packages/lfelin/laravel-tracetoslack)

---

#### **For Laravel 4.2, use the** [4.2 branch](https://github.com/LFelin/laravel-tracetoslack/tree/4.2)

[](#for-laravel-42-use-the-42-branch)

---

About
-----

[](#about)

Trace to slack is a simple package for laravel to notify the errors of your application in slack

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

[](#installation)

Pull this package in through Composer.

```
    {
        "require": {
            "lfelin/laravel-tracetoslack": "1.*"
        }
    }
```

Dump your autoload

```
composer dump-autoload -o

```

### Laravel 5.\* Integration

[](#laravel-5-integration)

Add the service provider to your `config/app.php` file:

```
    'providers'     => array(

        //...
        Lfelin\TraceToSlack\TraceToSlackServiceProvider::class,

    ),
```

In your `app/Exceptions/Handler.php` file:

Replace

```
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
```

**by**

```
use Lfelin\TraceToSlack\Handler as ExceptionHandler;
```

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

[](#configuration)

Publish configuration

```
php artisan vendor:publish

```

In your `config/tracetoslack.php` file configure the parameters. The parameter webhook\_url is required :

```
    return array(

        /*
         |--------------------------------------------------------------------------
         | Notify on debug
         |--------------------------------------------------------------------------
         | Default: false
         | The notifications are also sent if the debug mode is activated [true]
         |
         */

        'active_on_debug' => false,

        /*
         |--------------------------------------------------------------------------
         | Your private Webhook URL
         |--------------------------------------------------------------------------
         | [Required]
         | Eg: https://hooks.slack.com/services/XXX/XXX
         |
         */

        'webhook_url' => 'https://hooks.slack.com/services/XXX/XXX',

        /*
         |--------------------------------------------------------------------------
         | Username
         |--------------------------------------------------------------------------
         | [Optional]
         | Default: John Bot
         |
         */

        'username' => '',

        /*
         |--------------------------------------------------------------------------
         | Emoji
         |--------------------------------------------------------------------------
         | [Optional]
         | Default: ':warning:'
         | http://www.emoji-cheat-sheet.com/ for example
         |
         */

        'icon_emoji' => '', //  default: ':bug:' => http://www.emoji-cheat-sheet.com/

        /*
         |--------------------------------------------------------------------------
         | Emoji Url
         |--------------------------------------------------------------------------
         | [Optional]
         | This param increase icon_emoji
         | https://slack.com/img/icons/app-57.png for example
         |
         */

        'icon_url' => '',

        /*
         |--------------------------------------------------------------------------
         | Other Channel
         |--------------------------------------------------------------------------
         | [Optional]
         | Default: The default channel is the one set in the web Hook
         | This name start by '#' or '@' for Direct Message
         | Eg: #general - @username
         |
         */

        'other_channel' => '',
    );
```

Create Incoming WebHooks
------------------------

[](#create-incoming-webhooks)

Create a new webhook :

Documentation :

Example on slack
----------------

[](#example-on-slack)

[![example](https://cloud.githubusercontent.com/assets/271214/16535835/0f837698-3feb-11e6-92b2-e0bdf74b580a.png)](https://cloud.githubusercontent.com/assets/271214/16535835/0f837698-3feb-11e6-92b2-e0bdf74b580a.png)

Suggestions and issues
----------------------

[](#suggestions-and-issues)

Use [github issues](https://github.com/LFelin/laravel-tracetoslack/issues/new) to suggest improvements or reassembling your problems

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Total

8

Last Release

3639d ago

Major Versions

v0.7 → v1.02016-07-14

v1.0 → 4.2.x-dev2016-07-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/271214?v=4)[LFelin](/maintainers/LFelin)[@LFelin](https://github.com/LFelin)

---

Top Contributors

[![LFelin](https://avatars.githubusercontent.com/u/271214?v=4)](https://github.com/LFelin "LFelin (10 commits)")

---

Tags

laravelslackexceptionslogstraceback

### Embed Badge

![Health badge](/badges/lfelin-laravel-tracetoslack/health.svg)

```
[![Health](https://phpackages.com/badges/lfelin-laravel-tracetoslack/health.svg)](https://phpackages.com/packages/lfelin-laravel-tracetoslack)
```

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90336.2M38](/packages/bugsnag-bugsnag-laravel)[spatie/laravel-health

Monitor the health of a Laravel application

87511.3M155](/packages/spatie-laravel-health)[tylercd100/lern

LERN (Laravel Exception Recorder and Notifier) is a Laravel 5 package that will record exceptions into a database and will notify you via Email, Pushover or Slack.

436153.8k3](/packages/tylercd100-lern)[spatie/laravel-flare

Send Laravel errors to Flare

111.4M6](/packages/spatie-laravel-flare)[kssadi/log-tracker

A powerful, intuitive, and efficient log viewer for Laravel applications.

275.9k](/packages/kssadi-log-tracker)

PHPackages © 2026

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