Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jtelesforoantonio/laravel-ms-teams-report-exceptions

Laravel Microsoft Teams Report Exceptions
https://github.com/jtelesforoantonio/laravel-ms-teams-report-exceptions

error error-report errors exception exception-report exception-reporting exceptions laravel log logging microsoft microsoft-teams ms report reporting teams

Last synced: 24 days ago
JSON representation

Laravel Microsoft Teams Report Exceptions

Awesome Lists containing this project

README

        

## Laravel Microsoft Teams Report Exceptions

[![Total Downloads](https://poser.pugx.org/jtelesforoantonio/laravel-ms-teams-report-exceptions/downloads)](https://packagist.org/packages/jtelesforoantonio/laravel-ms-teams-report-exceptions)
[![License](https://poser.pugx.org/jtelesforoantonio/laravel-ms-teams-report-exceptions/license)](https://packagist.org/packages/jtelesforoantonio/laravel-ms-teams-report-exceptions)

Send exceptions to Microsoft Teams using the incoming webhook connector.

### Installation

```shell
composer require jtelesforoantonio/laravel-ms-teams-report-exceptions
```

### Usage

The first step is create a webhook, see
how [here](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook).

Once created you must add the following environment variables.

```
MS_TEAMS_REPORT_EXCEPTIONS_WEBHOOK_URL=https://your-webhook-url.com
MS_TEAMS_REPORT_EXCEPTIONS_ENABLED=true
```

If you need change some configuration run the following command to publish the config file.

```
php artisan vendor:publish --tag=ms-teams-report-exceptions-config
```

### Result

![Screenshot](assets/ms-teams-exception.jpeg)