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
- PHP 5.3.x +
- Composer
Installation
- 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
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.
Thanks
netvlies / basecamp-php - PHP Implementation of the all new Basecamp API