This add-on is meant for Slack users.
Slife is a programming interface to send messages to Slack.
This add-on adds a foundation layer to send messages to Slack. The add-on itself doesn't send messages, except for a message to test the connection. You can compare Slife with an engine, by itself it's useless, but once you add other parts, it becomes powerful.
What this add-on does:
- It creates a basis for Slife integrations, see 'Integrations' section;
- It lets you manage Webhooks and Messages, see FAQ;
- It creates a programming interface to easily send messages to Slack.
What this add-on does not:
- It does not send messages automatically, so installing just Slife doesn't make any sense. You need additional code to actually send something to Slack. Luckily this is very easy to do. E.g. by installing a Slife integration.
Use case 1: Your team uses Slack and wants more insight in what happens on a website
You need Slife and at least one Slife extension. Then you can set up messages. For example a message when someone logs in could look like: "John Doe (email@example.com) has just logged in". You can send to multiple Slack teams and multiple channels.
Use case 2: Your team uses Slack and you are a developer
You can easily send messages to Slack using the foundation Slife offers. For example, if you've made a booking system, you can easily send a message to Slack when a new booking has been made. See the developers section.
Use case 3: You create concrete5 add-ons
Say you created an add-on that creates and sends forms, you'd easily add a on_foo_form_submit event to Slife. The website owner can then decide whether it wants to 'hook into' the event, by adding a message via the dashboard. See the developers section.
Tested on PHP 5.6 and PHP 7.1.
Note: Slife requires concrete5 version 8.2.
Translations: English, Dutch.