Versions
CommunityA mostly useless package to display framework versions on Filament panels.
Author:
Adam Weston
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Failed: GitHub Actions pinned to SHA — View details on Plumb
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Warning: Dependabot or Renovate configured — Updater does not cover the JavaScript ecosystem, which has a committed lockfile.
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 12 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Compatibility
- Installation
- Usage
- Disabling Navigation View
- Custom Items
- Disabling the default items
- Widget options
- Changelog
- Contributing
- Security Vulnerabilities
- Credits
- License
A mostly useless package to display framework versions at the bottom of the Filament Admin navigation panel and an optional widget to do the same in the dashboard or custom pages.
#Compatibility
| Package Version | Filament Version |
|---|---|
| 1.x | 2.x |
| 2.x | 3.x |
| 3.x | 4.x |
| 4.x | 4.x & 5.x |
#Installation
Install the package via composer
composer require awcodes/filament-versions
[!IMPORTANT] If you have not set up a custom theme and are using Filament Panels follow the instructions in the Filament Docs first.
After setting up a custom theme add the plugin's views to your theme css file.
@source '../../../../vendor/awcodes/filament-versions/resources/**/*.blade.php';
#Usage
Register the plugin and/or Widget in your Panel provider:
use Awcodes\Versions\VersionsPlugin;
use Awcodes\Versions\VersionsWidget;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
VersionsPlugin::make(),
])
->widgets([
VersionsWidget::class,
]);
}
[!NOTE] If you are using the
topNavigationoption with your panel the sidebar widget will show up at the bottom of your pages content.
#Disabling Navigation View
If you'd like to disable the navigation view and only use the dashboard
widget you may do passing false or a Closure to the hasNavigationView method.
use Awcodes\Versions\VersionsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
VersionsPlugin::make()
->hasNavigationView(false),
]);
}
#Custom Items
You can add custom items to the widgets by creating a new class that implements the VersionProvider interface.
use Awcodes\Versions\Providers\Contracts\VersionProvider;
class MyCustomVersionProvider implements VersionProvider
{
public function getName(): string
{
return 'My Custom Version';
}
public function getVersion(): string
{
return '1.0.0';
}
}
Then add the item to the plugin:
use Awcodes\Versions\VersionsPlugin;
use App\Filament\Providers\MyCustomVersionProvider;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
VersionsPlugin::make()
->items([
new MyCustomVersionProvider(),
]),
]);
}
#Disabling the default items
You can disable the default items by passing false or a Closure to the hasDefaults method.
use Awcodes\Versions\VersionsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
VersionsPlugin::make()
->hasDefaults(false)
]);
}
#Widget options
You can change the column span and order of the widget by setting them on the plugin.
use Awcodes\Versions\VersionsPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
VersionsPlugin::make()
->widgetColumnSpan('full')
->widgetSort(2),
]);
}
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#Development
Install dependencies and run the test suite:
composer install
composer test
Start the Workbench application:
composer serve
Open /admin and sign in with test@example.com / password. The login form is prefilled for convenience.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
Adam is a full-stack web developer (with a focus on Laravel) who has been coding for close to 20 years. He is a core Filament team member as well and has authored numerous plugins for Filament such as Curator, Tiptap Editor and Table Repeater, to name a few. You can learn more about Adam on his website.
From the same author
Shout
A simple inline contextual notice for Filament Forms, basically just a fancy placeholder.
Author:
Adam Weston
Botly
Botly is a Filament plugin to manage your site's robots.txt file directly from a Filament admin panel.
Author:
Adam Weston
Table Repeater
A modified version of the Filament Forms Repeater to display it as a table.
Author:
Adam Weston
Tiptap Editor
A Rich Text Editor plugin for Filament Forms.
Author:
Adam Weston
Featured Plugins
A selection of plugins curated by the Filament team
Compact Theme
A theme that makes data-heavy panels easier to scan by fitting more useful information on each screen.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament