Best laravel framework open-source packages.

Slackcamp

Post Basecamp events to Slack channels
Updated 3 months ago

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

Tags events php