PHPackages                             gorriecoe/silverstripe-webfonts - 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. gorriecoe/silverstripe-webfonts

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

gorriecoe/silverstripe-webfonts
===============================

Provide webfont integration for SilverStripe CMS.

1.0.5(8y ago)3978↓75%1[1 PRs](https://github.com/gorriecoe/silverstripe-webfonts/pulls)1BSD-3-ClausePHP

Since Dec 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/gorriecoe/silverstripe-webfonts)[ Packagist](https://packagist.org/packages/gorriecoe/silverstripe-webfonts)[ Docs](http://github.com/gorriecoe/silverstripe-webfonts)[ RSS](/packages/gorriecoe-silverstripe-webfonts/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (1)Versions (7)Used By (1)

Webfonts Module
===============

[](#webfonts-module)

[![ko-fi](https://camo.githubusercontent.com/3083b1b9120d3820370812846fe8349310dbba940baa14700d89db51b80a2629/68747470733a2f2f7777772e6b6f2d66692e636f6d2f696d672f646f6e6174655f736d2e706e67)](https://ko-fi.com/E1E5HWRR)

Provide webfonts integration for SilverStripe CMS allowing fonts inside HTMLEditorField and frontend.

Requirements
------------

[](#requirements)

- silverstripe/framework ^4.0

Installation
------------

[](#installation)

Composer is the recommended way of installing SilverStripe modules.

```
$ composer require gorriecoe/silverstripe-webfonts

```

Documentation
-------------

[](#documentation)

### TypeKit

[](#typekit)

Define the TypeKitID in config.yaml

```
gorriecoe\Webfonts\View\Webfonts:
  TypeKitID: '######'

```

One of the following can be used in page template:

- `$TypeKitScript`: Returns javascript embed code.
- `$TypeKitStyle`: Returns style link code.
- `$TypeKitID`: Returns the Typekit kit ID.
- `$WebFontLoader`: Returns [web font loader](https://github.com/typekit/webfontloader) embed code.

#### Example

[](#example)

```

    Example.com
    {$TypeKitScript}

```

### Google Fonts

[](#google-fonts)

Define the GoogleFonts in config.yaml

```
gorriecoe\Webfonts\View\Webfonts:
  GoogleFonts:
    - 'Droid Sans'
    - 'Droid Serif:bold'

```

One of the following can be used in page template:

- `$GoogleFonts`: Returns style link code.
- `$WebFontLoader`: Returns [web font loader](https://github.com/typekit/webfontloader) embed code.

#### Example

[](#example-1)

```

    Example.com
    {$GoogleFonts}

```

### Fonts.com

[](#fontscom)

Define the FontsComID in config.yaml

```
gorriecoe\Webfonts\View\Webfonts:
  FontsComID: '######'

```

One of the following can be used in page template:

- `$FontsCom`: Returns javascript link code.
- `$FontsComID`: Returns the Font.com project ID.
- `$WebFontLoader`: Returns [web font loader](https://github.com/typekit/webfontloader) embed code.

#### Example

[](#example-2)

```

    Example.com
    {$FontsCom}

```

### Multiple font providers

[](#multiple-font-providers)

Define the options as listed above in config.yaml

```
gorriecoe\Webfonts\View\Webfonts:
  TypeKitID: '######'
  GoogleFonts:
    - 'Droid Sans'
    - 'Droid Serif:bold'

```

`$WebFontLoader` returns [web font loader](https://github.com/typekit/webfontloader) embed code is the recommended variable used in page template for handling multiple font providers.

#### Example

[](#example-3)

```

    Example.com
    {$WebFontLoader}

```

### Custom Fonts

[](#custom-fonts)

Define the CustomFonts in config.yaml

```
gorriecoe\Webfonts\View\Webfonts:
  CustomFonts:
    'MyFont:Bold,Italic': '/fonts.css'
    'FontAwesome': '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'

```

`$WebFontLoader` can be used in page template to return [web font loader](https://github.com/typekit/webfontloader) embed code.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

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 ~24 days

Recently: every ~30 days

Total

6

Last Release

2998d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11811440?v=4)[Gorrie Coe](/maintainers/gorriecoe)[@gorriecoe](https://github.com/gorriecoe)

---

Top Contributors

[![gorriecoe](https://avatars.githubusercontent.com/u/11811440?v=4)](https://github.com/gorriecoe "gorriecoe (24 commits)")

---

Tags

silverstripewebfontstypekitgooglefontsfonts.com

### Embed Badge

![Health badge](/badges/gorriecoe-silverstripe-webfonts/health.svg)

```
[![Health](https://phpackages.com/badges/gorriecoe-silverstripe-webfonts/health.svg)](https://phpackages.com/packages/gorriecoe-silverstripe-webfonts)
```

###  Alternatives

[silverstripe/userforms

UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code

1321.1M83](/packages/silverstripe-userforms)[symbiote/silverstripe-gridfieldextensions

A collection of useful grid field components

951.9M264](/packages/symbiote-silverstripe-gridfieldextensions)[silverstripe/tagfield

Tag field for SilverStripe

561.3M50](/packages/silverstripe-tagfield)[jonom/silverstripe-betternavigator

Front-end utility menu for Silverstripe websites featuring administration and development tools

59429.0k12](/packages/jonom-silverstripe-betternavigator)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46299.9k9](/packages/symbiote-silverstripe-advancedworkflow)[lekoala/silverstripe-cms-actions

Add actions to your models in SilverStripe

39317.0k29](/packages/lekoala-silverstripe-cms-actions)

PHPackages © 2026

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