Download the PHP package cmdisp/monolog-microsoft-teams without Composer
On this page you can find all versions of the php package cmdisp/monolog-microsoft-teams. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cmdisp/monolog-microsoft-teams
More information about cmdisp/monolog-microsoft-teams
Files in cmdisp/monolog-microsoft-teams
Package monolog-microsoft-teams
Short Description Monolog Handler for sending messages to Microsoft Teams using the Incoming Webhook connector
License MIT
Informations about the package monolog-microsoft-teams
DEPRECATION NOTICE
This package depends on the Office 365 connectors within Microsoft Teams. Microsoft has announced that they are retiring the Office 365 connectors as of 15 August 2024. All connectors will stop working on 1 October 2024. Microsoft recommends Power Automate workflows as the solution for sending information to Teams. This new workflow format is not backward compatible.
As a result, there is no viable path for us to continue to maintain this package beyond this point. It is therefore deprecated as of July 2024.
monolog-microsoft-teams
Monolog Handler for sending messages to Microsoft Teams channels using the Incoming WebHook connector.
Install
Usage
Usage with Laravel/Lumen framework (5.6+)
Create a custom channel
config/logging.php
Send an error message to the teams channel:
You can also add teams
to the default stack
channel so all errors are automatically send to the teams
channel.
Unit testing · PhpUnit
The tests require a valid Teams Incoming Webhook URL. To provide this URL to PhpUnit, copy phpunit.xml.dist
to phpunit.xml
and set the URL in the <php>
section. Make sure to not commit your local phpunit.xml into the repo!
Run the tests on the command line:
License
monolog-microsoft-teams is available under the MIT license. See the LICENSE file for more info.