Adds a customizable copyright footer to all your Filament panels with full translation support.
composer require tapp/filament-footer
php artisan vendor:publish --tag="filament-footer-config"
php artisan vendor:publish --tag="filament-footer-translations"
php artisan vendor:publish --tag="filament-footer-views"
After publishing the config file, you can customize the footer in config/filament-footer.php:
return [ // Company name displayed in the copyright message 'company_name' => env('FOOTER_COMPANY_NAME', 'Tapp Network'), // Company website URL 'company_url' => env('FOOTER_COMPANY_URL', 'https://tappnetwork.com'), // ... other options];
You can also configure the footer using environment variables in your .env file:
FOOTER_COMPANY_NAME="Your Company"FOOTER_COMPANY_URL="https://yourcompany.com"
The footer will automatically appear at the bottom of all your Filament panels once the package is installed. By default, it displays:
{app.name} is provided by {company_name}. © {year} {company_name}. All rights reserved.
Where:
{app.name} is your application's name from config('app.name'){company_name} is from config('filament-footer.company_name'){year} is the current yearconfig('filament-footer.company_url')Change the company name and URL in your config or .env file (or use the env variables):
// config/filament-footer.php'company_name' => 'My Company','company_url' => 'https://mycompany.com',
Publish and modify the translation files to change the copyright message format:
php artisan vendor:publish --tag="filament-footer-translations"
Then edit lang/vendor/filament-footer/en/footer.php:
return [ 'copyright_message' => 'Powered by :company_link | © :year :company_name', 'company_link_text' => ':company_name',];
Publish and modify the Blade template:
php artisan vendor:publish --tag="filament-footer-views"
Then customize resources/views/vendor/filament-footer/footer.blade.php to change:
The footer includes:
This package is open-sourced software licensed under the MIT license.