PHPackages                             d3s-datasapiens/filament-server-indicator - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. d3s-datasapiens/filament-server-indicator

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

d3s-datasapiens/filament-server-indicator
=========================================

A Filament v4 plugin that displays server information and app version in the panel footer

v0.1.0(5mo ago)013MITPHPPHP ^8.2

Since Dec 2Pushed 5mo agoCompare

[ Source](https://github.com/D3S-DataSapiens/filament-server-indicator)[ Packagist](https://packagist.org/packages/d3s-datasapiens/filament-server-indicator)[ RSS](/packages/d3s-datasapiens-filament-server-indicator/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (0)

Filament Server Indicator
=========================

[](#filament-server-indicator)

A Filament v4 plugin that displays server information, app version, and copyright in the panel footer. Perfect for load-balanced environments where you need to identify which server is handling requests.

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

[](#requirements)

- PHP 8.2+
- Laravel 10, 11 or 12
- Filament 4.x

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

[](#installation)

### Step 1: Install via Composer

[](#step-1-install-via-composer)

```
composer require d3s-datasapiens/filament-server-indicator
```

### Step 2: Register the Plugin

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

Add the plugin to your Filament panel provider (e.g., `app/Providers/Filament/AdminPanelProvider.php`):

```
use D3SDataSapiens\ServerIndicator\ServerIndicatorPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugin(
            ServerIndicatorPlugin::make()
                ->version('1.0.0')
                ->copyright('© :year Your Company')
        );
}
```

### Step 3: Publish Assets (Optional)

[](#step-3-publish-assets-optional)

#### Publish Configuration

[](#publish-configuration)

To customize the default settings:

```
php artisan vendor:publish --tag=server-indicator-config
```

This publishes `config/server-indicator.php`.

#### Publish Views

[](#publish-views)

To customize the footer layout:

```
php artisan vendor:publish --tag=server-indicator-views
```

This publishes views to `resources/views/vendor/server-indicator/`.

#### Publish Everything

[](#publish-everything)

To publish all assets at once:

```
php artisan vendor:publish --provider="D3SDataSapiens\ServerIndicator\ServerIndicatorServiceProvider"
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
ServerIndicatorPlugin::make()
    ->version('1.0.0')
    ->copyright('© :year D3S')
```

This displays: `© 2025 D3S | 1.0.0`

### With Server Name (Load Balancer)

[](#with-server-name-load-balancer)

When behind a load balancer that sets a cookie with the server name:

```
ServerIndicatorPlugin::make()
    ->version('1.0.0')
    ->copyright('© :year D3S')
    ->cookieName('SRVNAME')
    ->stripPrefix('/^load-balanced-/')
```

This displays: `© 2025 D3S | 1.0.0 | web-002`

### Display Options

[](#display-options)

Control what is shown in the footer:

```
ServerIndicatorPlugin::make()
    ->showVersion(true)
    ->showServer(true)
    ->showCopyright(true)
```

### Enable Logging

[](#enable-logging)

Log server information on each request:

```
ServerIndicatorPlugin::make()
    ->logging(true, 'daily')
```

Logs include: server name, authenticated user, and tenant (if applicable).

### Custom Tenant Resolver

[](#custom-tenant-resolver)

For multi-tenant applications:

```
ServerIndicatorPlugin::make()
    ->tenantResolver(fn ($user) => $user->currentTenant?->name)
```

Environment Variables
---------------------

[](#environment-variables)

Add these to your `.env` file:

```
# App version displayed in footer
APP_VERSION=1.0.0

# Cookie name containing server identifier
SERVER_INDICATOR_COOKIE=SRVNAME

# Copyright text (:year is replaced with current year)
SERVER_INDICATOR_COPYRIGHT="© :year Your Company"

# Enable logging
SERVER_INDICATOR_LOG=false
SERVER_INDICATOR_LOG_CHANNEL=stack
```

Configuration File
------------------

[](#configuration-file)

After publishing, you can customize `config/server-indicator.php`:

```
return [
    /*
    |--------------------------------------------------------------------------
    | Application Version
    |--------------------------------------------------------------------------
    */
    'version' => env('APP_VERSION', '1.0.0'),

    /*
    |--------------------------------------------------------------------------
    | Cookie Name
    |--------------------------------------------------------------------------
    */
    'cookie_name' => env('SERVER_INDICATOR_COOKIE', 'SRVNAME'),

    /*
    |--------------------------------------------------------------------------
    | Server Name Prefix to Remove
    |--------------------------------------------------------------------------
    */
    'strip_prefix' => '/^load-balanced-/',

    /*
    |--------------------------------------------------------------------------
    | Copyright Text
    |--------------------------------------------------------------------------
    */
    'copyright' => env('SERVER_INDICATOR_COPYRIGHT', '© :year D3S'),

    /*
    |--------------------------------------------------------------------------
    | Logging Configuration
    |--------------------------------------------------------------------------
    */
    'logging' => [
        'enabled' => env('SERVER_INDICATOR_LOG', false),
        'channel' => env('SERVER_INDICATOR_LOG_CHANNEL', 'stack'),
        'include_user' => true,
        'include_tenant' => true,
    ],

    /*
    |--------------------------------------------------------------------------
    | Display Options
    |--------------------------------------------------------------------------
    */
    'display' => [
        'show_version' => true,
        'show_server' => true,
        'show_copyright' => true,
    ],
];
```

Customizing the Footer View
---------------------------

[](#customizing-the-footer-view)

After publishing the views, you can customize `resources/views/vendor/server-indicator/footer.blade.php`:

```

    @if($showCopyright && $copyright)
        {{ $copyright }}
    @endif

    @if($showCopyright && $copyright && ($showVersion || ($showServer && $server)))
        |
    @endif

    @if($showVersion && $version)
        {{ $version }}
    @endif

    @if($showVersion && $version && $showServer && $server)
        |
    @endif

    @if($showServer && $server)
        {{ $server }}
    @endif

```

Available variables in the view:

- `$copyright` - The formatted copyright text
- `$version` - The version string
- `$server` - The server name (from cookie)
- `$showCopyright` - Whether to show copyright
- `$showVersion` - Whether to show version
- `$showServer` - Whether to show server name

API Reference
-------------

[](#api-reference)

MethodDescription`version(string $version)`Set the version string`copyright(string $text)`Set copyright text (`:year` placeholder available)`cookieName(string $name)`Cookie name containing server identifier`stripPrefix(?string $pattern)`Regex pattern to clean server name`logging(bool $enabled, ?string $channel)`Enable/disable logging`showVersion(bool $show)`Show/hide version`showServer(bool $show)`Show/hide server name`showCopyright(bool $show)`Show/hide copyright`tenantResolver(Closure $resolver)`Custom tenant resolver for loggingChangelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Claudio Pereira](https://github.com/cpereiraweb)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance72

Regular maintenance activity

Popularity5

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

Unknown

Total

1

Last Release

161d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fb1b9f7977257d69d365d2682104ee3c46b6eb8072e148fbb56f34c1a2984a29?d=identicon)[cpereiraweb](/maintainers/cpereiraweb)

---

Top Contributors

[![cpereiraweb](https://avatars.githubusercontent.com/u/1045328?v=4)](https://github.com/cpereiraweb "cpereiraweb (5 commits)")

---

Tags

laravelserverfooterindicatorfilamentload-balancer

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/d3s-datasapiens-filament-server-indicator/health.svg)

```
[![Health](https://phpackages.com/badges/d3s-datasapiens-filament-server-indicator/health.svg)](https://phpackages.com/packages/d3s-datasapiens-filament-server-indicator)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

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

A full-featured file manager package for Laravel and Filament v5 with dual operating modes, drag-and-drop uploads, S3/MinIO support, and comprehensive security features.

718.5k1](/packages/mwguerra-filemanager)[agencetwogether/hookshelper

Simple plugin to toggle display hooks available in current page.

2312.7k](/packages/agencetwogether-hookshelper)[tapp/filament-webhook-client

Add a Filament resource and a policy for Spatie Webhook client

1120.2k](/packages/tapp-filament-webhook-client)

PHPackages © 2026

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