PHP code example of alves / nfse-php-brazil

1. Go to this page and download the library: Download alves/nfse-php-brazil 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/ */

    

alves / nfse-php-brazil example snippets

bash
composer 
json
{
  "tpamb": 2,
  "prefeitura": "3550308",
  "catalog_compiled_path": "/app/storage/municipios-catalog.php"
}
bash
php bin/municipio-info.php 3550308
bash
php bin/municipio-info.php 3550308 --json