Post Basecamp events to Slack channels
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
composer.json
composer.lock
config.default.php
slackcamp.php

README.md

slackcamp

slackcamp is a simple cron job written in PHP which finds new activity from Basecamp and posts it to a specified Slack channel.

Requirements

Configuration on Slack

1. Choose a team you want to connect with Basecamp

This is the team you want to link with your Basecamp account

2. Configure Integrations

Slack integration configuration

3. Incoming Webhooks

Slack Incoming Webhooks

4. Set up webhook

Slack webhook setup

5. Integration complete

Slack webhook active

Installation

  1. Clone the repository.
  2. Run Composer Install php composer.phar install.
  3. Copy config.default.php to config.php and modify the settings.
  4. Set up a cron job to run:
$ crontab -e

# run slackcamp, send basecamp activity to slack
*/1 * * * * php /slackcamp/slackcamp.php

Notes

slackcamp needs to be able to write to a file named last_run_date.txt within it's directory. This is so that when we don't get duplicate events from Basecamp.

slackcamp also relies on the accuracy of PHP's date() function. If the server time is inaccurate, you may receive duplicate (or missing) messages.

Thanks

netvlies / basecamp-php - PHP Implementation of the all new Basecamp API