PHP code example of filament / spatie-laravel-google-fonts-plugin
1. Go to this page and download the library: Download filament/spatie-laravel-google-fonts-plugin 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/ */
filament / spatie-laravel-google-fonts-plugin example snippets
use Filament\FontProviders\SpatieGoogleFontProvider;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->font('Inter', provider: SpatieGoogleFontProvider::class);
}