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
- Host: GitHub
- URL: https://github.com/joho1968/mattermostsendphp
- Owner: joho1968
- License: mit
- Created: 2017-03-20T15:36:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-20T16:14:24.000Z (over 9 years ago)
- Last Synced: 2025-01-30T16:59:06.048Z (over 1 year ago)
- Topics: cli, cli-utilities, mattermost, php, php5, php7
- Language: PHP
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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