PHPackages                             lukeyouell/craft-gtmetrix - 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. lukeyouell/craft-gtmetrix

AbandonedCraft-plugin[Utility &amp; Helpers](/categories/utility)

lukeyouell/craft-gtmetrix
=========================

GTmetrix gives you insight on how well your entries load and provides actionable recommendations on how to optimise them.

1.1.4(8y ago)132.7k1[1 issues](https://github.com/lukeyouell/craft-gtmetrix/issues)MITHTML

Since Oct 13Pushed 7y agoCompare

[ Source](https://github.com/lukeyouell/craft-gtmetrix)[ Packagist](https://packagist.org/packages/lukeyouell/craft-gtmetrix)[ RSS](/packages/lukeyouell-craft-gtmetrix/feed)WikiDiscussions v1 Synced today

READMEChangelog (8)Dependencies (1)Versions (10)Used By (0)

[![icon](src/icon.svg)](src/icon.svg)

GTmetrix plugin for Craft CMS 3.x
=================================

[](#gtmetrix-plugin-for-craft-cms-3x)

GTmetrix gives you insight on how well your entries load and provides actionable recommendations on how to optimise them.

[![Screenshot](resources/img/screenshot.png)](resources/img/screenshot.png)

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

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

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

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
     cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
     composer require lukeyouell/craft-gtmetrix

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for GTmetrix.

Configuring GTmetrix
--------------------

[](#configuring-gtmetrix)

Upon successful installation you will be required to supply valid credentials to successfully communicate with the GTmetrix API.

A GTmetrix account is required, if you don't already have one [click here to create one](https://gtmetrix.com/pro).

Free &amp; paid plans are available.

Using GTmetrix
--------------

[](#using-gtmetrix)

Once you have provided valid credentials you will be able to make GTmetrix test requests.

### Making a Request

[](#making-a-request)

- Click the "New test" button
- Select an entry, location, browser and connection type
- Set additional conditions such as HTTP authentication, cookies, AdBlock and resource whitelisting/blacklisting
- Submit the request

### Test states

[](#test-states)

Once a test has been successfully submitted, there are five possible states:

##### 1. Requested

[](#1-requested)

The request is waiting for a response.

##### 2. Queued

[](#2-queued)

The request has been accepted and placed in a queue.

##### 3. Started

[](#3-started)

Testing has been initiated.

##### 4. Error

[](#4-error)

There was a problem with the test, a description of the error will be provided.

##### 5. Completed

[](#5-completed)

The test has been completed and is now available for you to view.

GTmetrix Roadmap
----------------

[](#gtmetrix-roadmap)

Some things to do, and ideas for potential features:

- Ability to re-test entry
- Restrict abilities if API credentials are missing
- Delete records
- Make test resources available

Brought to you by [Luke Youell](https://github.com/lukeyouell)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 97.1% 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 ~23 days

Total

9

Last Release

2947d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1fbc5aac79249c9e0a365480ed8dfa44090d825068482f7199ce767a1ad3dfc2?d=identicon)[lukeyouell](/maintainers/lukeyouell)

---

Top Contributors

[![lukeyouell](https://avatars.githubusercontent.com/u/24975058?v=4)](https://github.com/lukeyouell "lukeyouell (34 commits)")[![brandonkelly](https://avatars.githubusercontent.com/u/47792?v=4)](https://github.com/brandonkelly "brandonkelly (1 commits)")

---

Tags

cmsCraftcraftcmscraft-plugingtmetrix

### Embed Badge

![Health badge](/badges/lukeyouell-craft-gtmetrix/health.svg)

```
[![Health](https://phpackages.com/badges/lukeyouell-craft-gtmetrix/health.svg)](https://phpackages.com/packages/lukeyouell-craft-gtmetrix)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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