PHP code example of prestashop / rtlcss-php

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

    

prestashop / rtlcss-php example snippets


$parser = new Sabberworm\CSS\Parser($css);
$tree = $parser->parse()
$rtlcss = new PrestaShop\RtlCss\RtlCss($tree);
$rtlcss->flip();
echo $tree->render();
json
{
    "restashop/rtlcss-php": "*"
    }
}