Skip to content

dontgiveafish/yellow-plane-sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yellow plane PHP SDK

Yellow plane is a telegram bot that is designed to broadcast messages to the different teams.

To install SDK with Composer run this command:

composer require dontgiveafish/yellow-plane-sdk

To broadcast a message use this simple interface:

use Dontgiveafish\YellowPlane;
use GuzzleHttp\Client as Guzzle;

$plane = new YellowPlane\Client(new Guzzle(), 'http://bot-gateway.org/v1', 'team');
$plane->broadcast('Hello world!');

References

Yellow plane backend and infrastructure: https://github.com/dontgiveafish/yellow-plane-telegram-bot

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages