Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/php-slack/playground
Examples and test script for alek13/slack
https://github.com/php-slack/playground
message php playground slack
Last synced: 7 days ago
JSON representation
Examples and test script for alek13/slack
- Host: GitHub
- URL: https://github.com/php-slack/playground
- Owner: php-slack
- License: mit
- Created: 2018-02-01T19:38:46.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T17:47:06.000Z (over 3 years ago)
- Last Synced: 2024-06-18T12:00:13.679Z (8 months ago)
- Topics: message, php, playground, slack
- Language: PHP
- Homepage: https://github.com/php-slack/slack
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Playground for [`php-slack/slack`](https://github.com/php-slack/slack)
Examples how to use and **`test` script** to see the sent message **real result**.
## Install
```bash
composer create-project php-slack/playground -s dev
```
(Please use `-s dev` option since there is no release)
Then `cd playground/`.## Use
Usage: `./test `
for example:
```bash
./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](https://join.slack.com/t/php-slack/shared_invite/zt-3rxu29id-1xPR5QZdqtUBuJxhmibjWw).
And you can see how it really looks!
So [![Slack Welcome](https://img.shields.io/badge/you%20are-welcome-brightgreen.svg)](https://join.slack.com/t/php-slack/shared_invite/zt-3rxu29id-1xPR5QZdqtUBuJxhmibjWw) !!!