PHP code example of putyourlightson / craft-blitz-hints

1. Go to this page and download the library: Download putyourlightson/craft-blitz-hints library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

putyourlightson / craft-blitz-hints example snippets


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

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

        BlitzHints::bootstrap();
    }
}