glen/slack-unfurl-gitlab

GitLab links unfurler for slack-unfurl

v0.8.1 2023-10-17 15:22 UTC

This package is auto-updated.

Last update: 2024-10-17 18:19:29 UTC


README

GitLab links unfurler for slack-unfurl.

Installation

  1. Install slack-unfurl
  2. Require this package: composer require glen/slack-unfurl-gitlab
  3. Merge env.example from this project to .env
  4. Register provider: in src/Application.php add $this->register(new \GitlabSlackUnfurl\ServiceProvider\GitlabUnfurlServiceProvider());

Supported URL handlers

  • issue
  • merge_request
  • issue or merge request note (since 0.6.0)

Technical details:

For url to be unfurled, url pattern must be defined in GitLabRoutes, and handler must be also present in GitlabUnfurler.