Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 444 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 444 Bytes

Example on how to use Leanlink's rest and webhook api.

Installation

Requires php 8 and composer.

$ git clone [email protected]:LeanLink/SlackIntegrationExample.git
$ cd SlackIntegrationExample
$ composer install
$ cp .env .env.local

Edit .env.local with real values.

To register the webhook browse to /register.

Now everyting is setup and once a booking in Leanlink is confirmed a notification is sent to the provided Slack url.