Laravel Slack


This is tool allowing you to send messages to your team slack channel. I like it to catch production errors. So from now all your team will know about errors first.


     * Report or log an exception.
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     * @param  \Exception $e
     * @return void
    public function report(Exception $e)
        if (app()->environment() == 'production' && ! $e instanceof NotFoundHttpException) {
            Slack::send(\Request::url() . ' ' . (string)$e);

        return parent::report($e);
Share on FacebookShare on RedditShare on Google+Tweet about this on TwitterShare on LinkedIn
don't waste your time using copy/paste, just use share buttons above
Laravel Slack
  • nbhargav

    Thanks a lot for the tip!