PHPackages                             rossmcneil/googlefontsloader - 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. rossmcneil/googlefontsloader

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rossmcneil/googlefontsloader
============================

:description

1.0.1(6y ago)068MITPHP

Since May 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rossmcneil/googlefontsloader)[ Packagist](https://packagist.org/packages/rossmcneil/googlefontsloader)[ Docs](https://github.com/rossmcneil/googlefontsloader)[ RSS](/packages/rossmcneil-googlefontsloader/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

Google Fonts Loader
===================

[](#google-fonts-loader)

A small Laravel package to load google fonts into your application.

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

[](#installation)

### 1 - Dependency

[](#1---dependency)

The first step is using composer to install the package and automatically update your `composer.json` file, you can do this by running:

```
composer require rossmcneil/googlefontsloader
```

> **Note**: If you are using Laravel 5.5, the steps 2 and 3, for providers and aliases, are unnecessaries. GoogleFontsLoader supports Laravel new [Package Discovery](https://laravel.com/docs/5.5/packages#package-discovery).

### 2 - Provider

[](#2---provider)

You need to update your application configuration in order to register the package so it can be loaded by Laravel, just update your `config/app.php` file adding the following code at the end of your `'providers'` section:

> `config/app.php`

```
// file START ommited
    'providers' => [
        // other providers ommited
        RossMcNeil\GoogleFontsLoader\Providers\GoogleFontsLoaderServiceProvider::class,
    ],
// file END ommited
```

### 3 - Facade

[](#3---facade)

In order to use the `GoogleFontsLoader` facade, you need to register it on the `config/app.php` file, you can do that the following way:

```
// file START ommited
    'aliases' => [
        'GoogleFontsLoader' => RossMcNeil\GoogleFontsLoader\Facades\GoogleFontsLoader::class,
    ],
// file END ommited
```

### 4 Configuration

[](#4-configuration)

#### Publish config

[](#publish-config)

In your terminal type

```
php artisan vendor:publish
```

or

```
php artisan vendor:publish --provider="RossMcNeil\GoogleFontsLoader\Providers\GoogleFontsLoaderServiceProvider"
```

In `googlefontsloader.php` configuration file you can determine the properties of the default values and some behaviors.

#### googlefontsloader.php

[](#googlefontsloaderphp)

**fonts**

- Is an array of fonts you wish to load in. **display**
- Is the value used for the font-display setting.

Usage
-----

[](#usage)

### In Your View

[](#in-your-view)

```

	{!! GoogleFontsLoader::load() !!}

	{!! GoogleFontsLoader::load([
        'Open Sans:400,700'
    ]) !!}

```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- \[Ross McNeil\]\[\]

License
-------

[](#license)

Please see the [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

3

Last Release

2441d ago

Major Versions

v0.1-alpha → v1.02019-05-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/10fe75b84941098a807b4dca11a16a9d6dea3d36ed2ca168c4dcae312ee84aca?d=identicon)[rosstopping](/maintainers/rosstopping)

---

Top Contributors

[![rosstopping](https://avatars.githubusercontent.com/u/302966?v=4)](https://github.com/rosstopping "rosstopping (1 commits)")

---

Tags

laravelGoogleFontsLoader

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rossmcneil-googlefontsloader/health.svg)

```
[![Health](https://phpackages.com/badges/rossmcneil-googlefontsloader/health.svg)](https://phpackages.com/packages/rossmcneil-googlefontsloader)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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