# spatie/laravel-google-fonts

> Cache & serve Google Fonts from your application

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/laravel-google-fonts
- HTML: https://awesomeopensource.dev/project/spatie-laravel-google-fonts
- Website: https://spatie.be/open-source
- License: MIT
- Language: HTML
- stars: 493
- Activity score: 4.1/5 (Active)
- Last commit (any branch): 2026-11-05
- Last release: 1.7.0 2026-08-20

## Description

Self-hosts Google Fonts inside a Laravel application so pages avoid the extra DNS lookup and third-party request. Fonts are registered as embed URLs in the config and loaded with the @googlefonts Blade directive, which scrapes the CSS, downloads the assets and inlines the CSS on first request. Assets land on a configurable disk and path with optional preloading, nonce support for spatie/laravel-csp, a google-fonts:fetch prefetch command, and a link-tag fallback to Google when fetching fails.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 57% (weight 25%)
- Releases: 72% (weight 25%) — last release: 85 days ago
- Bug fixes: 80% (weight 10%)
- Commits: 5 / 90d, 11 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
