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

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

samirraihan/laravel-microsoft-teams-logger
==========================================

Laravel logger that sends logs to Microsoft Teams via webhook.

v1.0.0(1y ago)09MITPHPPHP ^8.1

Since May 29Pushed 1y agoCompare

[ Source](https://github.com/samirraihan/samirraihan-laravel-microsoft-teams-logger)[ Packagist](https://packagist.org/packages/samirraihan/laravel-microsoft-teams-logger)[ RSS](/packages/samirraihan-laravel-microsoft-teams-logger/feed)WikiDiscussions main Synced today

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

Samir Raihan Laravel Microsoft Teams Logger
===========================================

[](#samir-raihan-laravel-microsoft-teams-logger)

A Laravel-compatible logger that sends messages to a Microsoft Teams webhook using Monolog.

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

[](#installation)

```
composer require samirraihan/laravel-microsoft-teams-logger
```

Laravel Integration
-------------------

[](#laravel-integration)

Publish Configuration File
--------------------------

[](#publish-configuration-file)

```
php artisan vendor:publish --tag=config
```

Set Environment Variables
-------------------------

[](#set-environment-variables)

```
TEAMS_WEBHOOK_URL=
TEAMS_LOG_LEVEL=error
```

Add Custom Logging Channel (config/logging.php -&gt; channels)
--------------------------------------------------------------

[](#add-custom-logging-channel-configloggingphp---channels)

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'teams'],
    'ignore_exceptions' => false,
],

'teams' => [
    'driver' => 'custom',
    'via' => MicrosoftTeamsLogger\TeamsLoggerFactory::class,
    'level' => env('TEAMS_LOG_LEVEL', 'error'),
    'webhookUrl' => env('TEAMS_WEBHOOK_URL'),
],
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance46

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

402d ago

### Community

Maintainers

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

---

Top Contributors

[![samirraihan](https://avatars.githubusercontent.com/u/11888223?v=4)](https://github.com/samirraihan "samirraihan (3 commits)")

### Embed Badge

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

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k203.8M358](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M625](/packages/illuminate-log)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

163509.2k](/packages/grkamil-laravel-telegram-logging)

PHPackages © 2026

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