Skip to content

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.

License

Notifications You must be signed in to change notification settings

bereznii/php-teams-connector

Repository files navigation

php-teams-connector

Latest Version on Packagist Latest Unstable Version License Total Downloads

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.

Install

Via Composer

$ composer require bereznii/php-teams-connector

Usage

$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();

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email bereznii.d@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

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.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages