Looking to hire Laravel developers? Try LaraJobs

laravel-slack-resources maintained by richpeers

Description
Store url resources from slack using /resource url tag
Author
Last update
2019/07/21 23:39 (dev-master)
License
Links
Downloads
9

Comments
comments powered by Disqus

laravel-slack-resources

Latest Stable Version Total Downloads Latest Unstable Version License

Laravel package for saving url resources from a slack command

This will intercept slack command /resource https://useful-url tag, authenticate against a slack signing secret key, record the URL and associated tags. It will then dispatch a queued job to fetch the site's meta data and title.

Install:

composer require richpeers/laravel-slack-resources

Run migrations php artisan migrate

Setup slack app

  1. Create new app
  2. Add command
  3. point commmand post to your url eg https:://your-url/api/resources
  4. Install the app to your slack workspace
  5. Add the slack app's signing sectet to .env

SLACK_SIGNING_SECRET=your_slack_app_signing_secret