php-slack / playground
PHP Slack messages sending and tests
dev-master
2021-09-06 17:47 UTC
Requires
- alek13/slack: ^1.10
This package is auto-updated.
Last update: 2024-11-07 01:13:41 UTC
README
Examples how to use and test
script to see the sent message real result.
Install
composer create-project php-slack/playground -s dev
(Please use -s dev
option since there is no release)
Then cd playground/
.
Use
Usage: ./test <file>
for example:
./test example/01-just-text.php
Simply: use
[TAB][TAB]
combination to see list of examples:
- type
./t[TAB]
=> will./test
- add type
e[TAB]
=>./test example/
- then
[TAB][TAB]
(or[TAB][TAB][TAB]
)
View the code
Explore examples
folder to see how it works & play with it.
See the real message
All messages you are playing with, will be comes into #tests
channel in our PHP-Slack Workspace.
And you can see how it really looks!