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. zynqa/filament-confluence

ActiveLibrary

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

Confluence integration for FilamentPHP

0.1.2(2mo ago)030MITPHPPHP ^8.2

Since Feb 10Pushed 2mo 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 1mo ago

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

37

—

LowBetter than 83% of packages

Maintenance87

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

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

65d 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

[guava/filament-knowledge-base

A filament plugin that adds a knowledge base and help to your filament panel(s).

206120.5k1](/packages/guava-filament-knowledge-base)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[visualbuilder/email-templates

Email Template editor for Filament

11040.7k](/packages/visualbuilder-email-templates)[tapp/filament-authentication-log

Filament authentication log plugin.

51143.5k3](/packages/tapp-filament-authentication-log)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)

PHPackages © 2026

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