PHPackages                             pschilly/filament-dcs-server-stats - 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. [Admin Panels](/categories/admin)
4. /
5. pschilly/filament-dcs-server-stats

ActiveLibrary[Admin Panels](/categories/admin)

pschilly/filament-dcs-server-stats
==================================

This package is a series of widgets, pages and panels for Filament PHP and is loaded as a plugin. It interfaces with the DCS Server Bot API by Special-K to obtain statistics gathered from managed Digital Combat Simulator (DCS) servers.

v1.0.4(10mo ago)033MITPHPPHP ^8.2CI failing

Since Aug 23Pushed 10mo agoCompare

[ Source](https://github.com/pschilly/filament-dcs-server-stats)[ Packagist](https://packagist.org/packages/pschilly/filament-dcs-server-stats)[ Docs](https://github.com/pschilly/filament-dcs-server-stats)[ GitHub Sponsors](https://github.com/pschilly)[ RSS](/packages/pschilly-filament-dcs-server-stats/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (17)Versions (12)Used By (0)

DCS Server Stats FilamentPHP Plugin
===================================

[](#dcs-server-stats-filamentphp-plugin)

[![Filament 4.x Required](https://camo.githubusercontent.com/6dac2200479f96035433b2de66d6529f538186c090f00da0397241706125f1b7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d342e782d4646324432303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/6dac2200479f96035433b2de66d6529f538186c090f00da0397241706125f1b7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d342e782d4646324432303f7374796c653d666f722d7468652d6261646765)[![DCSServerBotAPI](https://camo.githubusercontent.com/2106332bfd208506f00830fa266511ba48ad98a246a0b19d7f32f86c32cd2438/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4443535f5365727665725f426f745f4150492d302e332d677265656e3f7374796c653d666f722d7468652d6261646765)](https://github.com/pschilly/dcs-server-bot-api)[![DCSServerBot](https://camo.githubusercontent.com/ab946f671f2568e8b439e457d8eb1d0d60994e52e844411a712f768dc1fdfb62/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462541342539365f52657175697265732d4443535f5365727665725f426f742d677265656e3f7374796c653d666f722d7468652d6261646765)](https://github.com/Special-K-s-Flightsim-Bots/DCSServerBot)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/927c81bd26dca9ac1c957598f452eb9a320a452e80e35f4f02778ca861a0dfbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70736368696c6c792f66696c616d656e742d6463732d7365727665722d73746174732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/927c81bd26dca9ac1c957598f452eb9a320a452e80e35f4f02778ca861a0dfbf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f70736368696c6c792f66696c616d656e742d6463732d7365727665722d73746174732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e267374796c653d666f722d7468652d6261646765)

This package is a series of widgets and pages for Filament PHP and is loaded as a plugin. It interfaces with the DCS Server Bot by Special-K via the Laravel Package DCS Server Bot API to obtain statistics gathered from managed Digital Combat Simulator (DCS) servers.

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

[](#installation)

You can install the package via composer:

```
composer require pschilly/filament-dcs-server-stats
```

Important

If you have not set up a custom theme and are using Filament Panels follow the instructions in the [Filament Docs](https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme) first.

After setting up a custom theme add the plugin's views to your theme css file or your app's css file if using the standalone packages.

```
@source '../../../../vendor/pschilly/filament-dcs-server-stats/resources/**/*.blade.php';
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-dcs-server-stats-views"
```

Usage
-----

[](#usage)

Enable the plugin on your panel of choice:

```
$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
])
```

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

[](#configuration)

By default, this plugin assumes you want everything and has everything turned on. So if you pass no variables at all - that is what you will get.

Referencing below, change what suits you best - I would also encourage you to use some sort of DB based config system to make this a more user friendly experience but I will leave that up to you.

### Server Selector

[](#server-selector)

The server selector is enabled by default, however, if you wish to disable it you may do so as follows:

```
use Pschilly\FilamentDcsServerStats\Pages as DCSServerBotPages;

$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
    ->serverSelector(false)
]);
```

### Pages

[](#pages)

By default, all pages will be registered. If you wish to disable some of them, pass an array of pages as follows:

```
use Pschilly\FilamentDcsServerStats\Pages as DCSServerBotPages;

$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
    ->pages([
        DCSServerBotPages\Leaderboard::class,
        DCSServerBotPages\PlayerStats::class,
        DCSServerBotPages\Squadrons::class, // Requires that you have the `squadrons` feature enabled within the DCS Server Bot
        DCSServerBotPages\Servers::class,
    ]);
])
```

### Dashboard &amp; Dashboard Widgets

[](#dashboard--dashboard-widgets)

By default, the Dashboard for the Filament Panel that you have enabled the plugin on will be overwritten by the included one with all widgets available. If you wish to change this, configure as follows:

```
use Pschilly\FilamentDcsServerStats\Widgets as DCSServerBotDashboardWidgets;

$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
    ->dashboard(false) // Will disable the included dashboard - note, the following will also not funciton if you do so.
    ->dashboardWidgets([
        DCSServerBotDashboardWidgets\ServerStatistics::class,
        DCSServerBotDashboardWidgets\DailyPlayersChart::class,
        DCSServerBotDashboardWidgets\TopPilots::class,
        DCSServerBotDashboardWidgets\TopSquadrons::class, // Requires that you have the `squadrons` and `credits` features enabled within the DCS Server Bot
    ]);
])
```

Note

The order that you put the widgets in the array will dictate the order that they appear on the page.

### Leaderboard Columns

[](#leaderboard-columns)

By default, the Leaderboard will show all columns - if you want to change this behaviour, configure as follows:

Note

No matter what you provide, the bare minimum displayed will be: Ranking, Callsign &amp; Kills so as to not entirely break the page.

```
$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
    ->leaderboardColumns([
        'deaths',
        'kdr',
        'credits',
        'playtime'
    ]);
])
```

Note

The order that you put the columns in the array will dictate the order that they appear on the page.

### Player Stats Widgets

[](#player-stats-widgets)

By default, the Player Stats page will show all widgets - if you want to change this behaviour, configure as follows:

```
use Pschilly\FilamentDcsServerStats\Widgets\PlayerStats as DCSServerBotPlayerStatsWidgets;

$panel
->plugins([
    \Pschilly\FilamentDcsServerStats\FilamentDcsServerStatsPlugin::make()
    ->playerStatsWidgets([
        DCSServerBotPlayerStatsWidgets\CombatChart::class,
        DCSServerBotPlayerStatsWidgets\ModuleChart::class,
        DCSServerBotPlayerStatsWidgets\PveChart::class,
        DCSServerBotPlayerStatsWidgets\PvpChart::class,
        DCSServerBotPlayerStatsWidgets\SortieChart::class
    ]);
])
```

Note

The order that you put the widgets in the array will dictate the order that they appear on the page.

### Squadrons &amp; Servers

[](#squadrons--servers)

At present, there are no configuration values for these pages. What you see is what you get.

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](.github/SECURITY.md) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Schilly](https://github.com/pschilly)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance54

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.9% 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

11

Last Release

305d ago

Major Versions

0.1.5 → v1.02025-08-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/307222?v=4)[Schilly](/maintainers/Pschilly)[@pschilly](https://github.com/pschilly)

---

Top Contributors

[![pschilly](https://avatars.githubusercontent.com/u/307222?v=4)](https://github.com/pschilly "pschilly (92 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelfilamentphppschillyfilament-dcs-server-stats

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/pschilly-filament-dcs-server-stats/health.svg)

```
[![Health](https://phpackages.com/badges/pschilly-filament-dcs-server-stats/health.svg)](https://phpackages.com/packages/pschilly-filament-dcs-server-stats)
```

###  Alternatives

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[mradder/filament-logger

Audit logging, activity tracking, exports, alerts, and dashboards for Filament admin panels.

2317.4k](/packages/mradder-filament-logger)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

246.4k](/packages/andreia-filament-ui-switcher)[a2insights/filament-saas

Filament Saas for A2Insights

171.7k](/packages/a2insights-filament-saas)

PHPackages © 2026

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