PHP code example of minerva-sistemas / minerva-signatures

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

    

minerva-sistemas / minerva-signatures example snippets


/**
 * @configure {"adapter":"Connection1"}
 * @configure {"table":"loja_cliente"}
 */
class Cliente {}

$cliente = new Cliente();
$configuration = SignatureParser::getDictionary($cliente);

echo $configuration->get('table')->getValue(); // loja_cliente
echo $configuration->get('table')->getName();  // table