wotz / filament-admin-bar
Admin bar for filament
Package info
github.com/wotzebra/filament-admin-bar
Language:Blade
pkg:composer/wotz/filament-admin-bar
Requires
- php: ^8.3
- filament/filament: ^4.0|^5.0
- illuminate/contracts: ^12.0|^13.0
- livewire/livewire: ^3.2|^4.0
- spatie/laravel-package-tools: ^1.12
Requires (Dev)
- larastan/larastan: ^2.0|^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0|^9.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^2.0|^3.0|^4.0
- pestphp/pest-plugin-laravel: ^2.0|^3.0|^4.0
- phpstan/extension-installer: ^1.1|^2.0
- phpstan/phpstan-deprecation-rules: ^1.0|^2.0
- phpstan/phpstan-phpunit: ^1.0|^2.0
Suggests
- wotz/filament-seo: ^1.1 || ^2.0
- wotz/filament-translatable-strings: ^2.0 - Required for the translatable strings tab
README
This package will add an admin bar to the frontend, only visible for logged in Filament users.
Installation
You can install the package via composer:
composer require wotz/filament-admin-bar
DO NOT forget to publish the CSS files, or the bar will not be visible:
php artisan vendor:publish --force --tag=filament-admin-bar-assets
You can publish the config file with:
php artisan vendor:publish --tag="filament-admin-bar-config"
This is the contents of the published config file:
return [ 'tabs' => [ Wotz\FilamentAdminBar\Tabs\SeoTab::class, Wotz\FilamentAdminBar\Tabs\TranslatableStringsTab::class, ], 'translatable-strings-tab' => [ 'excluded' => [ 'filament-admin-bar::*', 'routes.*', ], ], ];
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-admin-bar-views"
Usage
<livewire:admin-bar />
Documentation
For the full documentation, check here.
Testing
vendor/bin/pest
Changelog
Please see CHANGELOG for more information on what has changed recently.
Upgrading
Please see UPGRADING for more information on how to upgrade to a new version.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
If you discover any security-related issues, please email info@whoownsthezebra.be instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
