PHP code example of stivehu / yii2-rangecomp

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

    

stivehu / yii2-rangecomp example snippets


<?= \stivehu\rangecomp\Rangecomp::rangeDeCompress([1,2,"4-10"]); 

 \rangecomp\Rangecomp::rangeDeCompress(Json::decode($this->getBigCookie($this->cookieName))) 

php composer.phar