PHP code example of oxid-esales / smarty-to-twig-converter
1. Go to this page and download the library: Download oxid-esales/smarty-to-twig-converter 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/ */
oxid-esales / smarty-to-twig-converter example snippets
smarty
[{foreach $myColors as $color}]
<li>[{$color}]</li>
[{/foreach}]
[{$color}]
smarty
[{if $smarty.get.plain == '1'}] popup[{/if}]