PHP code example of thefunpower / helper

1. Go to this page and download the library: Download thefunpower/helper 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/ */

    

thefunpower / helper example snippets

 
$func = " 
    data = JSON.parse(data);
    console.log(data);
";
echo get_ws_js($func,'ws://127.0.0.1:3006');
 
echo scss("
 \$color: #abc;
 div { color: lighten(\$color, 20%); }
");
 }
 helper_v3\Block::start('css');
 helper_v3\Block::end();
 
helper_v3\Block::output();