slackcamp is a simple cron job written in PHP which finds new activity from Basecamp and posts it to a specified Slack channel.
This is the team you want to link with your Basecamp account
- Clone the repository.
- Run Composer Install
php composer.phar install
. - Copy
config.default.php
toconfig.php
and modify the settings. - Set up a cron job to run:
$ crontab -e
# run slackcamp, send basecamp activity to slack
*/1 * * * * php /slackcamp/slackcamp.php
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.
netvlies / basecamp-php - PHP Implementation of the all new Basecamp API