PHP code example of devonab / filament-easy-footer
1. Go to this page and download the library: Download devonab/filament-easy-footer library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withGithub(showLogo: true, showUrl: true)
])
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withLoadTime(),
])
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withLoadTime('This page loaded in'),
])
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withLogo(
'https://static.cdnlogo.com/logos/l/23/laravel.svg', // Path to logo
'https://laravel.com' // URL for logo link (optional)
)
])
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withLogo(
'https://static.cdnlogo.com/logos/l/23/laravel.svg', // Path to logo
'https://laravel.com', // URL for logo link (optional)
'Powered by Laravel', // Text to display (optional)
35 // Logo height in pixels (default: 20)
)
])
use Devonab\FilamentEasyFooter\EasyFooterPlugin;
->plugins([
EasyFooterPlugin::make()
->withLogo(
'https://static.cdnlogo.com/logos/l/23/laravel.svg', // Path to logo
null, // No link
null, // No text
60 // Logo height in pixels
)
])