PHPackages                             zynqa/filament-confluence - 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. [API Development](/categories/api)
4. /
5. zynqa/filament-confluence

ActiveLibrary[API Development](/categories/api)

zynqa/filament-confluence
=========================

Confluence integration for FilamentPHP

0.1.2(3mo ago)067MITPHPPHP ^8.2

Since Feb 10Pushed 3mo agoCompare

[ Source](https://github.com/zynqa/filament-confluence)[ Packagist](https://packagist.org/packages/zynqa/filament-confluence)[ RSS](/packages/zynqa-filament-confluence/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (14)Versions (4)Used By (0)

Filament Confluence
===================

[](#filament-confluence)

A Laravel/Filament package that provides Confluence knowledge base integration. Display Confluence pages directly in your Filament admin panel with user-based access control.

Features
--------

[](#features)

- ✅ Dual API support: Direct Confluence REST API or MCP integration
- ✅ User-based space assignment
- ✅ Admin-curated page sharing with automatic sub-page inclusion
- ✅ Read-only viewing with markdown support
- ✅ No database storage - uses Sushi for virtual Eloquent models
- ✅ Comprehensive caching strategy
- ✅ Filament v3 compatible

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 11+
- Filament 3.2+
- Spatie Laravel Settings 3.0+

Installation
------------

[](#installation)

### Step 1: Install the package

[](#step-1-install-the-package)

```
composer require zynqa/filament-confluence
```

### Step 2: Publish configuration and migrations

[](#step-2-publish-configuration-and-migrations)

```
php artisan vendor:publish --tag="filament-confluence-config"
php artisan vendor:publish --tag="filament-confluence-migrations"
```

### Step 3: Run migrations

[](#step-3-run-migrations)

```
php artisan migrate
```

### Step 4: Add trait to User model

[](#step-4-add-trait-to-user-model)

```
use Zynqa\FilamentConfluence\Models\Concerns\HasConfluenceSpaces;

class User extends Authenticatable
{
    use HasConfluenceSpaces;

    protected $fillable = [
        // ... your existing fields
        'confluence_space_keys',
    ];
}
```

### Step 5: Register the plugin

[](#step-5-register-the-plugin)

In your `AppPanelProvider.php`:

```
use Zynqa\FilamentConfluence\FilamentConfluencePlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            FilamentConfluencePlugin::make(),
        ]);
}
```

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

[](#configuration)

### Environment Variables

[](#environment-variables)

#### For Direct API Connection:

[](#for-direct-api-connection)

```
CONFLUENCE_CONNECTION=direct
CONFLUENCE_URL=https://your-domain.atlassian.net
CONFLUENCE_EMAIL=your-email@example.com
CONFLUENCE_API_TOKEN=your-api-token
CONFLUENCE_AUTH_TYPE=basic
CONFLUENCE_CONTENT_FORMAT=markdown
```

#### For MCP Connection:

[](#for-mcp-connection)

```
CONFLUENCE_CONNECTION=mcp
CONFLUENCE_CLOUD_ID=your-cloud-id
CONFLUENCE_CONTENT_FORMAT=markdown
```

### Assigning Spaces to Users

[](#assigning-spaces-to-users)

Update your UserResource to include the Confluence space assignment field:

```
Forms\Components\Select::make('confluence_space_keys')
    ->label('Confluence Spaces')
    ->multiple()
    ->options(function () {
        $service = app(\Zynqa\FilamentConfluence\Services\ConfluenceService::class);
        $spaces = $service->getSpaces();

        return collect($spaces)->mapWithKeys(fn($s) => [
            $s['key'] => $s['key'] . ' - ' . $s['name']
        ]);
    })
    ->searchable(),
```

### Admin-Shared Pages

[](#admin-shared-pages)

Configure shared pages in Settings &gt; Confluence:

- Add page IDs that should be visible to all users
- All sub-pages (descendants) are automatically included

Usage
-----

[](#usage)

Once configured, users will see a "Knowledge Base" menu item in Filament where they can:

- Browse pages from their assigned Confluence spaces
- View admin-shared pages and their descendants
- Read content in markdown format
- Click "Open in Confluence" to edit in Confluence

Architecture
------------

[](#architecture)

This package uses:

- **Sushi**: Virtual Eloquent models without database storage
- **Dual API Support**: Choose between direct Confluence API or MCP delegation
- **Per-User Caching**: Each user gets their own cached page set
- **Space-Based Access**: Users see only pages from their assigned spaces

Security
--------

[](#security)

- Read-only access - all editing happens in Confluence
- User-scoped data - each user only sees their assigned spaces
- Admin-controlled shared pages
- Comprehensive error logging

License
-------

[](#license)

MIT

Credits
-------

[](#credits)

- Built for FilamentPHP
- Uses Spatie Laravel Settings
- Powered by Sushi by Caleb Porzio

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance79

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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 ~16 days

Total

3

Last Release

112d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1080386?v=4)[Raul Watson](/maintainers/diazwatson)[@diazwatson](https://github.com/diazwatson)

---

Top Contributors

[![diazwatson](https://avatars.githubusercontent.com/u/1080386?v=4)](https://github.com/diazwatson "diazwatson (3 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/zynqa-filament-confluence/health.svg)

```
[![Health](https://phpackages.com/badges/zynqa-filament-confluence/health.svg)](https://phpackages.com/packages/zynqa-filament-confluence)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[backstage/mails

View logged mails and events in a beautiful Filament UI.

16120.0k](/packages/backstage-mails)

PHPackages © 2026

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