PHP code example of mve-it-solutions / yii2-google-code-prettify

1. Go to this page and download the library: Download mve-it-solutions/yii2-google-code-prettify 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/ */

    

mve-it-solutions / yii2-google-code-prettify example snippets


\mveitsolutions\googlecodeprettify\GoogleCodePrettifyAsset::register($this, ['style' => 'simple', 'lineNums' => true, 'autoAddPreClasses' => true]);