PHP code example of enovatedesign / craft-style-inliner

1. Go to this page and download the library: Download enovatedesign/craft-style-inliner 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/ */

    

enovatedesign / craft-style-inliner example snippets




return [
    'criticalCss' => true,
    'criticalPrefix' => '@webroot/resources/',
];