mitydigital/statamic-google-fonts
A Statamic addon for managing Google Fonts: configure font families and weights, download and self-host files locally, and generate the CSS you need—avoiding external Google requests for better privacy and performance.
fonts.googleapis.com / fonts.gstatic.com. It directly closes a legal-review finding that commonly blocks launch for EU-facing sites — a decision that is otherwise resolved by a legal opinion, a cookie-consent change, or an engineering project.@font-face CSS, cache-bust, wire into the CP for editors). This package buys that for the cost of a Composer dependency and a config file — strongly favours buy unless you already own a design-system font pipeline.Adopt when:
@font-face generation.Look elsewhere when:
spatie/laravel-google-fonts) or a build-time asset pipeline instead..woff2 files) in case maintenance lags.For executives: This is a small, cheap fix for a recurring legal risk. Serving Google Fonts from Google's servers exposes visitor IPs and has drawn fines and warning letters in the EU. This addon downloads the fonts once and serves them from our own domain, so we keep the design freedom of Google Fonts without the third-party transfer. Cost is a Composer dependency and a short config change; the alternative is custom engineering plus ongoing maintenance, or a legal workaround that degrades the design. Recommendation: adopt on Statamic properties with EU traffic, and treat it as a compliance control rather than a feature.
For engineering: A maintained Statamic addon that pulls Google Fonts locally, generates the @font-face CSS, and exposes font selection in the Control Panel. Low integration surface: install, publish config, choose fonts, done. 2.1.3 is a patch — it refines URL behaviour when fonts are served from the same host, which tightens multi-domain, staging, and local-dev behaviour. No breaking changes, no migrations, no action beyond a routine version bump and a smoke test of typography on staging.
For design/marketing: You keep the Google Fonts library and the CP picker; nothing about your workflow changes except that fonts are served from our domain. Note the one real trade-off — fonts are no longer automatically updated or optimised by Google, so adding or changing a typeface means a save in the CP rather than an implicit CDN update.
How can I help you explore Laravel packages today?