neuralglitch / font-manager
Universal font manager for Symfony supporting multiple providers (Google Fonts, Bunny Fonts, Local Fonts, Fontsource) with development CDN and production font locking
Package info
github.com/neuralglitch/font-manager
Type:symfony-bundle
pkg:composer/neuralglitch/font-manager
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:51:30 UTC
README
Font Manager
Universal font manager for Symfony supporting multiple providers
Warning
neuralglitch/font-manager is
Replacement: symfinity/font-manager
- New installs, issues, and releases: symfinity/font-manager
- Migration: docs/migration.md
Features
- Multiple Providers — Google Fonts, Bunny Fonts, Fontsource, and Local Fonts
- Privacy-Friendly — GDPR-compliant options (Bunny Fonts, Fontsource)
- Development Mode — CDN with inline styles
- Production Mode — Lock fonts locally for better performance and privacy
- Multi-Format Export — CSS, SCSS, Tailwind, TypeScript, Design Tokens, and more
- Build Tool Support — AssetMapper, Webpack, and Vite auto-detection
- CLI Tools — Search, lock, validate, prune, and export commands
Supported Providers
| Provider | Fonts | Privacy | API Key | CDN |
|---|---|---|---|---|
| Google Fonts | 1,500+ | Tracks | Optional | Yes |
| Bunny Fonts | 1,500+ | GDPR | No | Yes |
| Fontsource | 1,500+ | Good | No | Yes |
| Local Fonts | Custom | Perfect | No | No |
Recommended for privacy: Bunny Fonts (GDPR-compliant, zero tracking)
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 successor handbook.
- Migration from neuralglitch/font-manager — upgrade to
symfinity/font-manager - Migration from neuralglitch/google-fonts — google-fonts successor path
- Export Formats — Multi-format export guide
- Usage Guide — Function parameters and examples
- Providers — Provider comparison and setup
- Commands — CLI command reference
- Configuration — All configuration options
- Local Fonts — Custom font setup
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