PHP code example of aaronidas / apm-sql-lexer

1. Go to this page and download the library: Download aaronidas/apm-sql-lexer 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/ */

    

aaronidas / apm-sql-lexer example snippets


Signature::parse($query);

$spanName = Signature::parse('SELECT * FROM foo');
var_dump($spanName);
// output: SELECT FROM foo