Spatie Google Fonts
Featured OfficialFilament support for Spatie's Laravel Google Fonts package.
Author:
Filament
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Passed: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Passed: Dependabot or Renovate configured
- Passed: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; no release date available.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
- Skipped: Current Laravel version supported
-
Passed:
Current PHP version supported
—
Constraint
^8.2supports current PHP8.5. - Skipped: Current Symfony version supported
Documentation
#Installation
Install the plugin with Composer:
composer require filament/spatie-laravel-google-fonts-plugin:"^5.0" -W
Please follow Spatie's documentation about how to set up their package first.
#Using the font provider
In your Panel Builder configuration, you can use the font() method, passing a provider:
use Filament\FontProviders\SpatieGoogleFontProvider;
use Filament\Panel;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->font('Inter', provider: SpatieGoogleFontProvider::class);
}
Now, if Spatie's package is set up to fetch and cache the Inter font correctly, Filament will use that source in the panel, without using any CDNs. Internally, the SpatieGoogleFontProvider class uses the @googlefonts directive from Spatie's package.
The author
Filament is a powerful open source UI framework for Laravel, built with Livewire to help you ship apps & admin panels fast.
It includes a collection of beautifully designed, fully extensible components that handle the hard parts, so you can focus on what matters.
From the same author
Spatie Media Library
Filament support for Spatie's Laravel Media Library package.
Author:
Filament
Spatie Settings
Filament support for Spatie's Laravel Settings package.
Author:
Filament
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Author:
Filament
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Author:
Filament
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Spotlight Pro
Browse your Filament Panel with ease. Filament Spotlight Pro adds a Spotlight like Command Palette to your Filament Panel.
Dennis Koch
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament