tapp/filament-footer
Composer 安装命令:
composer require tapp/filament-footer
包简介
A Filament plugin to add a customizable copyright footer to all panels
README 文档
README
Adds a customizable copyright footer to all your Filament panels with full translation support.
Requirements
- PHP 8.2+
- Laravel 11+
- Filament 4.x / 5.x
Installation
- Install the package via Composer:
composer require tapp/filament-footer
- Publish the configuration file (recommended):
php artisan vendor:publish --tag="filament-footer-config"
- Publish the translations (optional, if you want to customize the footer text):
php artisan vendor:publish --tag="filament-footer-translations"
- Publish the views (optional, if you want to customize the footer template):
php artisan vendor:publish --tag="filament-footer-views"
Configuration
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 ];
Environment Variables
You can also configure the footer using environment variables in your .env file:
FOOTER_COMPANY_NAME="Your Company" FOOTER_COMPANY_URL="https://yourcompany.com"
Usage
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 fromconfig('app.name'){company_name}is fromconfig('filament-footer.company_name'){year}is the current year- The company name is linked to
config('filament-footer.company_url')
Customization
Method 1: Configuration (Easiest)
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',
Method 2: Translations (For Multilingual Sites)
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', ];
Method 3: Views (For Complete Control)
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 entire HTML structure
- Styling and layout
- Add additional links or information
Styling
The footer includes:
- Responsive design
- Dark mode support
- Centered text layout
- Proper color contrast for accessibility
- Tailwind CSS classes compatible with Filament
License
This package is open-sourced software licensed under the MIT license.
tapp/filament-footer 适用场景与选型建议
tapp/filament-footer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.33k 次下载、GitHub Stars 达 5, 最近一次更新时间为 2026 年 01 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「i18n」 「laravel」 「configurable」 「multilingual」 「footer」 「copyright」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 tapp/filament-footer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 tapp/filament-footer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 tapp/filament-footer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Easy to use i18n translation PHP class for multi-language websites
A custom URL rule class for Yii 2 which allows to create translated URL rules
Bureaux A Partager Edit - Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js
Nette Framework adapter for I18n package
Yii2 integration for AirBnB Polyglot.js
Allows Symfony Forms to be altered based on YAML configuration files
统计信息
- 总下载量: 4.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-15