PHPackages                             bootdesk/chat-sdk-adapter-linear - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bootdesk/chat-sdk-adapter-linear

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bootdesk/chat-sdk-adapter-linear
================================

Linear adapter for bootdesk/chat-sdk-core

0.4.2(1w ago)012↓100%MITPHPPHP &gt;=8.2

Since May 22Pushed 1w agoCompare

[ Source](https://github.com/bootdesk/chat-sdk-adapter-linear)[ Packagist](https://packagist.org/packages/bootdesk/chat-sdk-adapter-linear)[ RSS](/packages/bootdesk-chat-sdk-adapter-linear/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

bootdesk/chat-sdk-adapter-linear
================================

[](#bootdeskchat-sdk-adapter-linear)

Linear adapter for the laravel-bootdesk multi-platform messaging framework.

Install
-------

[](#install)

```
composer require bootdesk/chat-sdk-adapter-linear
```

Requires a PSR-18 HTTP client (`guzzlehttp/guzzle`, `symfony/http-client`, etc.) and a PSR-17 factory (`nyholm/psr7` bundled).

Configuration
-------------

[](#configuration)

VariableDescriptionExample`api_key`Linear API Key`lin_api_abc123...``http_client`PSR-18 HTTP client instance`new GuzzleHttp\Client``webhook_secret`Webhook Secret`my-secret...````
use BootDesk\ChatSDK\Linear\LinearAdapter;

$adapter = new LinearAdapter(
    apiKey: env('LINEAR_API_KEY'),
    httpClient: new \GuzzleHttp\Client,
    webhookSecret: env('LINEAR_WEBHOOK_SECRET'),
);
```

### Laravel

[](#laravel)

The `ChatServiceProvider` auto-binds `Psr\Http\Client\ClientInterface` to `GuzzleHttp\Client`. Add to `config/chat.php`:

```
'linear' => [
    'api_key'        => env('LINEAR_API_KEY'),
    'webhook_secret' => env('LINEAR_WEBHOOK_SECRET'),
],
```

Quick Example
-------------

[](#quick-example)

```
// Post a comment on an issue
$adapter->postMessage('linear:ABC-123', 'Looking into this.');

// Post in a comment thread
$adapter->postMessage('linear:ABC-123:c:456', 'Reply to comment.');

// Post in an agent session
$adapter->postMessage('linear:ABC-123:s:session-xyz', 'Agent update.');
```

Thread ID Format
----------------

[](#thread-id-format)

FormatDescription`linear:{issueId}`Bare issue`linear:{issueId}:c:{commentId}`Comment thread`linear:{issueId}:s:{agentSessionId}`Agent session`linear:{issueId}:c:{commentId}:s:{agentSessionId}`Comment + sessionWebhook
-------

[](#webhook)

Linear sends webhook events to your endpoint. Verify requests using HMAC-SHA256 verification via the `linear-signature` header.

**API endpoint:** `https://api.linear.app/graphql`

**Handled events:** `Comment.create`

Feature Matrix
--------------

[](#feature-matrix)

FeatureSupportedPost messages✓Edit messages✓Delete messages✓Reactions✓Slash commands✗Typing indicator✗Fetch messages✓Fetch thread info✓Fetch channel info✓Get user✓Open DM✗Stream✓Notes
-----

[](#notes)

Uses the Linear GraphQL API. Bot identity is resolved via the `viewer` query on initialization. Card messages are rendered as Linear-flavored markdown. Edit and delete are not supported for agent sessions.

Documentationn
--------------

[](#documentationn)

Full API documentation:

License
-------

[](#license)

MIT

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance98

Actively maintained with recent releases

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

7

Last Release

9d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c7c4b63717b65a4c803530d1f9df14f9e2ebb4262bd0ee1025a541340905c31?d=identicon)[tryvin](/maintainers/tryvin)

---

Top Contributors

[![tryvin](https://avatars.githubusercontent.com/u/3874705?v=4)](https://github.com/tryvin "tryvin (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bootdesk-chat-sdk-adapter-linear/health.svg)

```
[![Health](https://phpackages.com/badges/bootdesk-chat-sdk-adapter-linear/health.svg)](https://phpackages.com/packages/bootdesk-chat-sdk-adapter-linear)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6941.5M395](/packages/drupal-core-recommended)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

84735.1k](/packages/flow-php-flow)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

744284.3k34](/packages/civicrm-civicrm-core)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

788.3M9](/packages/chargebee-chargebee-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
