### Configure Filament Footer Package Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Example configuration for the Filament Footer Package in `config/filament-footer.php`. It shows how to set the company name and URL. ```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 ]; ``` -------------------------------- ### Install Filament Footer Package via Composer Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Installs the Filament Footer Package using Composer. This is the first step to integrate the package into your Laravel project. ```bash composer require tapp/filament-footer ``` -------------------------------- ### Configure Filament Footer via Environment Variables Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Example of configuring the Filament Footer Package using environment variables in the `.env` file. This is an alternative to direct configuration file editing. ```env FOOTER_COMPANY_NAME="Your Company" FOOTER_COMPANY_URL="https://yourcompany.com" ``` -------------------------------- ### Customize Filament Footer Configuration in PHP Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Example of customizing the company name and URL directly within the `config/filament-footer.php` file. This method is straightforward for simple changes. ```php // config/filament-footer.php 'company_name' => 'My Company', 'company_url' => 'https://mycompany.com', ``` -------------------------------- ### Customize Filament Footer Copyright Message in Translations Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Example of modifying the copyright message format in the translation file `lang/vendor/filament-footer/en/footer.php`. This is suitable for multilingual sites. ```php return [ 'copyright_message' => 'Powered by :company_link | © :year :company_name', 'company_link_text' => ':company_name', ]; ``` -------------------------------- ### Publish Filament Footer Configuration Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Publishes the configuration file for the Filament Footer Package. This allows for customization of settings like company name and URL. ```bash php artisan vendor:publish --tag="filament-footer-config" ``` -------------------------------- ### Configure Filament Footer Options Source: https://context7.com/tappnetwork/filament-footer-package/llms.txt Defines configuration options for the Filament Footer package, including company name, URL, links, positioning, and CSS classes. These can be set in the config file or via environment variables. ```php env('FOOTER_COMPANY_NAME', 'Tapp Network'), // Company website URL linked in the footer 'company_url' => env('FOOTER_COMPANY_URL', 'https://tappnetwork.com'), // Show additional links (Privacy Policy, Terms of Service) 'show_links' => false, // Privacy Policy page URL (null to hide) 'privacy_link' => null, // Terms of Service page URL (null to hide) 'terms_link' => null, // Footer positioning: 'inline' (flows with content) or 'bottom' (fixed) 'position' => 'inline', // Additional CSS classes for the footer container 'css_classes' => '', ]; ``` -------------------------------- ### Publish Filament Footer Views Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Publishes the Blade template for the Filament Footer Package. This allows for complete control over the footer's HTML structure, styling, and layout. ```bash php artisan vendor:publish --tag="filament-footer-views" ``` -------------------------------- ### Filament Footer Service Provider Registration Source: https://context7.com/tappnetwork/filament-footer-package/llms.txt Illustrates how the Filament Footer package automatically registers its service provider and hooks into all Filament panels to render the footer. This code is for reference and requires no user action. ```php app->booted(function () { foreach (Filament::getPanels() as $panel) { $panel->renderHook( 'panels::footer', fn (): string => View::make('filament-footer::footer')->render() ); } }); } } ``` -------------------------------- ### Publish Filament Footer Translations Source: https://github.com/tappnetwork/filament-footer-package/blob/main/README.md Publishes the translation files for the Filament Footer Package. This is useful for customizing the footer text, especially for multilingual sites. ```bash php artisan vendor:publish --tag="filament-footer-translations" ``` -------------------------------- ### Customize Filament Footer Translations Source: https://context7.com/tappnetwork/filament-footer-package/llms.txt Modifies the copyright message and company link text for the Filament Footer package by publishing and editing the translation files. Placeholders like :app_name, :company_link, :year, and :company_name are available. ```php ':app_name is provided by :company_link. © :year :company_name. All rights reserved.', // Text displayed for the company link 'company_link_text' => ':company_name', ]; // Custom format example: return [ 'copyright_message' => 'Powered by :company_link | © :year :company_name', 'company_link_text' => ':company_name', ]; ``` -------------------------------- ### Customize Filament Footer View Source: https://context7.com/tappnetwork/filament-footer-package/llms.txt Provides full control over the footer's HTML structure and styling by publishing and modifying the Blade template located at resources/views/vendor/filament-footer/footer.blade.php. It uses Blade directives and configuration values. ```blade {{-- resources/views/vendor/filament-footer/footer.blade.php --}}
config('filament-footer.position') === 'bottom', config('filament-footer.css_classes', '') => config('filament-footer.css_classes'), ])>

{!! __('filament-footer::footer.copyright_message', [ 'app_name' => config('app.name', 'Portal'), 'company_name' => config('filament-footer.company_name', 'Tapp Network'), 'company_link' => '' . __('filament-footer::footer.company_link_text', ['company_name' => config('filament-footer.company_name')]) . '', 'year' => date('Y'), ]) !!}

``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.