Skip to content

joho1968/mattermostsendphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mattermostsendphp

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

Usage

mmsend mmsend [<section>|none] [test|send] [<url>|config] [<text>]

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 file for details

About

Simple CLI utility for posting text

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages