PHPackages                             cbytedigital/laravel-teams-logger - 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. cbytedigital/laravel-teams-logger

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

cbytedigital/laravel-teams-logger
=================================

Laravel package to log exceptions to a Microsoft Teams channel using Microsoft Teams Webhooks.

v2.0.0(2y ago)36.3k↑228.6%1MITPHPPHP ^8.0

Since Jun 13Pushed 1y agoCompare

[ Source](https://github.com/cbytedigital/laravel-teams-logger)[ Packagist](https://packagist.org/packages/cbytedigital/laravel-teams-logger)[ RSS](/packages/cbytedigital-laravel-teams-logger/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

Laravel Teams Logger
====================

[](#laravel-teams-logger)

[![PHP from Packagist](https://camo.githubusercontent.com/be99736d9869bfbc9a4e04f9a3a851a842a1d4a609bbe75583775679eb4ee73a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f63627974656469676974616c2f6c61726176656c2d7465616d732d6c6f676765722e737667)](https://packagist.org/packages/cbytedigital/laravel-teams-logger)[![Latest Version on Packagist](https://camo.githubusercontent.com/396236b02331e90754228000d0413923329f5dea4695ea3b754cc0f72fe279d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63627974656469676974616c2f6c61726176656c2d7465616d732d6c6f676765722e737667)](https://packagist.org/packages/cbytedigital/laravel-teams-logger)[![Software License](https://camo.githubusercontent.com/d154505bd25754ed6a6538dd4d793e536ed55166fd1b50821db69fa92f18d843/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63627974656469676974616c2f6c61726176656c2d7465616d732d6c6f676765722e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/7158c5d9b0723d3d626d051a83a755b371154c0c4e7c16378d998011dd3bbe95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63627974656469676974616c2f6c61726176656c2d7465616d732d6c6f676765722e737667)](https://packagist.org/packages/cbytedigital/laravel-teams-logger)

A [Laravel](https://laravel.com) package which can be used for log handling through laravel logging using the Microsoft teams webhook.

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

[](#installation)

Use composer to install this package:

```
$ composer require cbytedigital/laravel-teams-logger
```

Usage
-----

[](#usage)

After installing the package through composer, we need to edit the logging. We have to add a teams channel with the following information. (The channel name can be whatever you want, just match it with the channel entered in the array of the stack channel)

```
'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'teams' /** This is important for the channel to register properly */],
        'ignore_exceptions' => false,
    ],

    ...

    'teams' => [
        'driver' => 'custom',
        'via' => \CbyteDigital\TeamsLogger\Logging\TeamsLoggingChannel::class,
        'type' => \CbyteDigital\TeamsLogger\Enums\LogType::EXCEPTION,
        'level' => 'error',
        'url' => env('TEAMS_WEBHOOK_URL') /** This is the webhook URL generated by Teams */,
        'name' => 'Project name',
    ],
]
```

### How to get a Webhook URL in Microsoft Teams

[](#how-to-get-a-webhook-url-in-microsoft-teams)

Create a channel inside Microsoft Teams and open the channel. In the top right corner of the channel, you will see three dots. If you click there, you will have to go to Connectors.

Here you will install the connector 'Incoming Webhook'. Next you can configure this for each project. Enter a name and icon and click on 'create'. This will generate a URL which we need for this package to work.

Testing
-------

[](#testing)

Run the tests with:

```
$ composer test
```

Support
-------

[](#support)

VersionLaravel VersionPHP Version1.x&gt;= 8.x&gt;=8.0Postcardware
------------

[](#postcardware)

This package is completely free to use. If it makes it to your production environment we would highly appreciate you sending us a postcard from your hometown! 👏🏼

Our address is: CBYTE Software B.V., Parallelweg 27, 5223AL 's-Hertogenbosch, Netherlands.

License
-------

[](#license)

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

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.8% 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 ~37 days

Recently: every ~73 days

Total

9

Last Release

823d ago

Major Versions

1.1.0 → v2.0.02024-04-02

### Community

Maintainers

![](https://www.gravatar.com/avatar/b08470e64109ccb0f059dc3881c9c52b750954a0bf388d13685f498399772f24?d=identicon)[cbytedigital](/maintainers/cbytedigital)

---

Top Contributors

[![ksmits-cbyte](https://avatars.githubusercontent.com/u/189243019?v=4)](https://github.com/ksmits-cbyte "ksmits-cbyte (18 commits)")[![gerkereitz-cbyte](https://avatars.githubusercontent.com/u/192647713?v=4)](https://github.com/gerkereitz-cbyte "gerkereitz-cbyte (2 commits)")[![RobinVDVelden](https://avatars.githubusercontent.com/u/69678903?v=4)](https://github.com/RobinVDVelden "RobinVDVelden (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cbytedigital-laravel-teams-logger/health.svg)

```
[![Health](https://phpackages.com/badges/cbytedigital-laravel-teams-logger/health.svg)](https://phpackages.com/packages/cbytedigital-laravel-teams-logger)
```

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[open-telemetry/opentelemetry-auto-laravel

OpenTelemetry auto-instrumentation for Laravel

592.7M9](/packages/open-telemetry-opentelemetry-auto-laravel)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[nightowl/agent

NightOwl monitoring agent — collects telemetry from laravel/nightwatch and writes to PostgreSQL

771.7k](/packages/nightowl-agent)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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