Download the PHP package d3s-datasapiens/filament-server-indicator without Composer
On this page you can find all versions of the php package d3s-datasapiens/filament-server-indicator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download d3s-datasapiens/filament-server-indicator
More information about d3s-datasapiens/filament-server-indicator
Files in d3s-datasapiens/filament-server-indicator
Package filament-server-indicator
Short Description A Filament v4 plugin that displays server information and app version in the panel footer
License MIT
Informations about the package 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
- PHP 8.2+
- Laravel 10, 11 or 12
- Filament 4.x
Installation
Step 1: Install via Composer
Step 2: Register the Plugin
Add the plugin to your Filament panel provider (e.g., app/Providers/Filament/AdminPanelProvider.php):
Step 3: Publish Assets (Optional)
Publish Configuration
To customize the default settings:
This publishes config/server-indicator.php.
Publish Views
To customize the footer layout:
This publishes views to resources/views/vendor/server-indicator/.
Publish Everything
To publish all assets at once:
Usage
Basic Usage
This displays: © 2025 D3S | 1.0.0
With Server Name (Load Balancer)
When behind a load balancer that sets a cookie with the server name:
This displays: © 2025 D3S | 1.0.0 | web-002
Display Options
Control what is shown in the footer:
Enable Logging
Log server information on each request:
Logs include: server name, authenticated user, and tenant (if applicable).
Custom Tenant Resolver
For multi-tenant applications:
Environment Variables
Add these to your .env file:
Configuration File
After publishing, you can customize config/server-indicator.php:
Customizing the Footer View
After publishing the views, you can customize resources/views/vendor/server-indicator/footer.blade.php:
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
| Method | Description |
|---|---|
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 logging |
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Claudio Pereira
- All Contributors
License
MIT License. See LICENSE for more information.