The PHP package to easily interact with Microsoft Teams Connector API via Incoming Webhook. The goal is to provide user with ability to easily create his own message card and send them to desired channel.
Via Composer
$ composer require bereznii/php-teams-connector
$card = new \Bereznii\TeamsConnector\Services\MessageCard();
$card->setAppName('Your App')
->setMessage('Hello World')
->setContext(__METHOD__)
->setStatus('DEBUG');
$request = new Bereznii\TeamsConnector\Services\Request($card, '<WEBHOOK_URL>');
$result = $request->send();
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email bereznii.d@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.