putyourlightson/craft-blitz-hints

Provides templating performance hints.

2.0.0-beta.1 2024-02-14 18:55 UTC

This package is auto-updated.

Last update: 2024-12-16 16:53:35 UTC


README

Stable Version Total Downloads

Blitz Hints Module for Craft CMS

This module provides the hint functionality and utility for the Blitz and Blitz Recommendations plugins for Craft CMS.

First require the package in your plugin/module's composer.json file.

{
  "require": {
    "putyourlightson/craft-blitz-hints": "^1.0"
  }
}

Then bootstrap the module from within your plugin/module's init method.

use craft\base\Plugin;
use putyourlightson\blitzhints\BlitzHints;

class MyPlugin extends Plugin
{
    public function init()
    {
        parent::init();

        BlitzHints::bootstrap();
    }
}

License

This module is licensed for free under the MIT License.

Requirements

This module requires Craft CMS 4.0.0 or later.

Installation

Install this package via composer.

composer require putyourlightson/craft-blitz-hints

Created by PutYourLightsOn.