dontgiveafish/yellow-plane-sdk

Yellow Plane SDK

Maintainers

Package info

github.com/dontgiveafish/yellow-plane-sdk-php

pkg:composer/dontgiveafish/yellow-plane-sdk

Statistics

Installs: 16

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

3.0 2024-08-12 20:50 UTC

This package is not auto-updated.

Last update: 2026-03-04 18:32:48 UTC


README

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