Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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) !!!