PHP code example of anubit / typo3-lighthouse-insight
1. Go to this page and download the library: Download anubit/typo3-lighthouse-insight 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/ */
anubit / typo3-lighthouse-insight example snippets
$GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['lighthouse_insight']['apiKey'] = getenv('PAGESPEED_API_KEY') ?: '';
bash
find packages/lighthouse_insight -name '*.php' -print0 | xargs -0 -n1 php -l