An open API service indexing awesome lists of open source software.

https://github.com/joho1968/mattermostsendphp

Simple CLI utility for posting text
https://github.com/joho1968/mattermostsendphp

cli cli-utilities mattermost php php5 php7

Last synced: over 1 year ago
JSON representation

Simple CLI utility for posting text

Awesome Lists containing this project

README

          

## mattermostsendphp
Simple CLI utility for posting text to a Mattermost Incoming Webhook, written in PHP.

## Usage

`mmsend mmsend [|none] [test|send] [|config] []`

## Background

Simply to start building (yet another) PHP codebase for talking to Mattermost :)

## Installation

Put mmsend.php and mmsend.sample.ini somewhere, in the same place. Copy mmsend.sample.ini to mmsend.ini. Edit as needed. Set execute rights on mmsend.php (not required if you manually use PHP CLI binary), and off you go. The PHP log is set to mmsend.log, in the same directory as mmsend.php.

Oh, you need to create an Incoming Webhook in your Mattermost as well.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details