A slack self-invite service written in PHP with random and fancy background
- Just clone this repo:
git clone ssh://git@github.com/fateyan/slack-inviter.git
- Then run
composer install
- Edit
.env.example
and rename it to.env
Environment Variables:
Key | Description |
---|---|
SLACK_TOKEN | Slack token, it can be found on https://api.slack.com/web |
SLACK_DOMAIN | Your team name of Slack, {team_name}.slack.com |
SLACK_CHANNELS | Separate by comma[,], it can be found on https://api.slack.com/methods/channel.list/test |
SLACK_HEADER | Title for invite form |
SLACK_SUB_HEADER | Sub title for invite form |
SLACK_TITLE | Page title |
RECAPTCHA_SITEKEY | Site key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin |
RECAPTCHA_SECRET | Secret key for reCaptcha, you can get it from https://www.google.com/recaptcha/admin |
- There You Go~
Good Luck >_>~