PHP code example of bitpatroon / bpn_variable_text

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

    

bitpatroon / bpn_variable_text example snippets


<sl:variableText labelName="label_example" markers="{label1: '[[test]]'}">
    <sl:variableText.marker name="label2">content 1</sl:variableText.marker>
</sl:variableText>