PHP code example of scedel / parser

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

    

scedel / parser example snippets


use Scedel\Parser\ParserService;

$parser = new ParserService();
$ast = $parser->parseString($source, 'inline.scedel');
bash
php php/scedel-parser/bin/parse-example.php
php php/scedel-parser/bin/parse-example.php /absolute/path/schema.scedel