neuralglitch / google-fonts
Google Fonts integration for Symfony with development CDN and production font locking
Package info
github.com/neuralglitch/google-fonts
Type:symfony-bundle
pkg:composer/neuralglitch/google-fonts
Requires
- php: >=8.1
- symfony/config: ^6.4 || ^7.0 || ^8.0
- symfony/console: ^6.4 || ^7.0 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.0 || ^8.0
- symfony/filesystem: ^6.4 || ^7.0 || ^8.0
- symfony/finder: ^6.4 || ^7.0 || ^8.0
- symfony/http-client: ^6.4 || ^7.0 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.0 || ^8.0
- symfony/routing: ^6.4 || ^7.0 || ^8.0
- symfony/twig-bundle: ^6.4 || ^7.0 || ^8.0
- twig/twig: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- infection/infection: ^0.29
- phpmetrics/phpmetrics: ^2.8
- phpstan/phpstan: ^1.11
- phpunit/phpunit: ^10.5 || ^11.0
- rector/rector: ^1.0
- symfony/asset-mapper: ^6.4 || ^7.0 || ^8.0
- symfony/yaml: ^6.4 || ^7.0 || ^8.0
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2026-06-13 14:49:26 UTC
README
Google Fonts
Google Fonts integration for Symfony
Warning
neuralglitch/google-fonts is
Replacement: symfinity/font-manager
- New installs, issues, and releases: symfinity/font-manager
- Migration: docs/migration.md
Features (legacy)
- Twig Function —
{{ google_fonts() }} - Development Mode — Google Fonts CDN with inline styles
- Production Mode — Lock fonts locally for performance and privacy
- Smart CSS — Automatic styling for body, headings, and bold text
- CLI Tools — Search, import, lock, and warm-cache commands
The successor symfinity/font-manager adds Bunny Fonts, Fontsource, local fonts, and multi-format export — see successor handbook.
New projects
Do not install this package. Use:
composer require symfinity/font-manager
Add the symfinity/recipes Flex endpoint first — see successor installation guide.
Documentation (legacy tree)
Historical docs for the last neuralglitch/* release. For current Symfinity docs, use the font-manager handbook.
- Migration from neuralglitch/google-fonts — upgrade to
symfinity/font-manager - Usage Guide — Legacy
google_fonts()examples - Commands — Legacy
gfonts:*CLI reference - Configuration — Legacy configuration options
- Production Setup — Deploying with locked fonts (legacy)
- Development — Historical contributing notes
Requirements (last legacy release)
- PHP 8.1 or higher
- Symfony 6.4, 7.x, or 8.x
- Twig 3.0 or higher
Support
- Issues / security: symfinity/font-manager — not this archived repo
- Contributing — historical; contributions go to symfinity/symfinity