marcelweidum / filament-back-button
Brings a back button to a resource view/edit page
Package info
github.com/MarcelWeidum/filament-back-button
pkg:composer/marcelweidum/filament-back-button
Fund package maintenance!
Requires
- php: ^8.2
- filament/filament: ^v4.11||^v5.6
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^9.0|^10.0
- rector/rector: ^2.0
This package is auto-updated.
Last update: 2026-04-21 15:51:57 UTC
README
Brings a back button to a resource view/edit page
Caution
The current release is a beta release — use it cautiously in production.
Installation
You can install the package via composer:
composer require marcelweidum/filament-back-button
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 or your app's css file if using the standalone packages.
@source '../../../../vendor/marcelweidum/filament-back-button/resources/**/*.blade.php';
You can publish the config file with:
php artisan vendor:publish --tag="filament-back-button-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-back-button-views"
This is the contents of the published config file:
return [ 'all_resources' => true, 'resources' => [ // App\Filament\Resources\UserResource::class, ], ];
Set all_resources to false to only show the back button on specific Filament resources listed in resources.
Contributing
Please see CONTRIBUTING for details.
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.