PHPackages                             alpdesk/contao-google-fonts - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. alpdesk/contao-google-fonts

ActiveContao-bundle[Utility &amp; Helpers](/categories/utility)

alpdesk/contao-google-fonts
===========================

Local Google Webfonts for Contao

2.0.0(4mo ago)32.6k↓82.1%MITPHPPHP ^8.3

Since Feb 11Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/xprojects-de/contao-google-fonts)[ Packagist](https://packagist.org/packages/alpdesk/contao-google-fonts)[ RSS](/packages/alpdesk-contao-google-fonts/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (12)Versions (12)Used By (0)

contao-google-fonts
===================

[](#contao-google-fonts)

[![Contao Version](https://camo.githubusercontent.com/8adfb202f48b8c556bdfcf4c4d371881baf67a5c6587617ed3254d0ab4bb5215/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e74616f2d253545342e392d6f72616e6765)](https://contao.org)

With this extension, Google-Webfonts can be easily downloaded and integrated locally into Contao CMS with just a few clicks.

see also

Manual
------

[](#manual)

1. open menu item "Google fonts" in backend
2. select the font and click "Download"
3. the font is then stored in the file manager with appropriate CSS
4. there are two CSS files. One for "best practice and old browsers" (font\_legacy.css) and one for "modern browsers" ( font.css)
5. select the appropriate CSS from the file manager in the layout
6. last put the font-family to your css
7. ready!! Now you are compliant to DSGVO :-)

1.2.0-BETA\* also supports unicode-ranges. But the feature is currently in BETA-State! :-)

Contao DebugMode for Versions 1.0.\* (only for Contao &lt; 4.12)
----------------------------------------------------------------

[](#contao-debugmode-for-versions-10-only-for-contao--412)

If DebugMode is enabled at Contao version &lt; 4.12 there are INVALID additional lines inside the CSS like e.g.

```
-- TEMPLATE START: vendor/alpdesk/contao-google-fonts/src/Resources/contao/templates/google_fonts_css.html5 -->
/* ubuntu-v19-300 - latin */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local(''),
    url('ubuntu-v19-latin-300.woff2') format('woff2'),
    url('ubuntu-v19-latin-300.woff') format('woff');
}

-- TEMPLATE END: vendor/alpdesk/contao-google-fonts/src/Resources/contao/templates/google_fonts_css.html5 -->
```

Currently this cannot be disabled. So to download the font you have to be in ProductionMode!

Other
-----

[](#other)

The feature is only available for administrators.

Technically
-----------

[](#technically)

Uses API from  (). Big thanks to majodev ().

Images
------

[](#images)

[![](https://camo.githubusercontent.com/a7a9abf4d07e27471b6bcb76588f0dbe496235d84231610c64b9eb1e5350ceb2/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f312e706e67)](https://camo.githubusercontent.com/a7a9abf4d07e27471b6bcb76588f0dbe496235d84231610c64b9eb1e5350ceb2/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f312e706e67)

[![](https://camo.githubusercontent.com/5a8b25e4a9f30d54a51724021d8abd60e918c1bedab87b5a5c370e40d26414d4/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f322e706e67)](https://camo.githubusercontent.com/5a8b25e4a9f30d54a51724021d8abd60e918c1bedab87b5a5c370e40d26414d4/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f322e706e67)

[![](https://camo.githubusercontent.com/2f218ef5ffed1d6d06bb330a744ab17798e555402c6903714a5033f1c340d5ab/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f332e706e67)](https://camo.githubusercontent.com/2f218ef5ffed1d6d06bb330a744ab17798e555402c6903714a5033f1c340d5ab/68747470733a2f2f782d70726f6a656374732e64652f66696c65732f616c706465736b2f636f6e74616f2d676f6f676c652d666f6e74732f332e706e67)

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance75

Regular maintenance activity

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~163 days

Recently: every ~321 days

Total

10

Last Release

134d ago

Major Versions

1.4.0 → 2.0.02026-02-19

PHP version history (4 changes)1.0.0PHP &gt;=7.4

1.3.0PHP ^7.4 || ^8.0

1.4.0PHP ^8.1

2.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/85a471c53ba8e0ef2fface4844b72415a523f1118e3bea30e78db4683ecd304d?d=identicon)[xprojects](/maintainers/xprojects)

---

Top Contributors

[![xprojects-de](https://avatars.githubusercontent.com/u/55982921?v=4)](https://github.com/xprojects-de "xprojects-de (75 commits)")

---

Tags

contaogoogle fontsgoogle webfontslocal Google fontslocal Google Webfonts

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alpdesk-contao-google-fonts/health.svg)

```
[![Health](https://phpackages.com/badges/alpdesk-contao-google-fonts/health.svg)](https://phpackages.com/packages/alpdesk-contao-google-fonts)
```

###  Alternatives

[metamodels/core

MetaModels core

10156.4k67](/packages/metamodels-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3189.0k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3177.0k6](/packages/terminal42-contao-node)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
