PHP code example of jeyroik / extas-parsers

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

    

jeyroik / extas-parsers example snippets


$parser = SystemContainer::getItem(IParserRepository::class);
$text = 'Some text with @placeholders or anything {else}';
if ($parser->canParse($text)) {
    echo $parser->parse($text);
}