PHP code example of codephix / declaracao-conteudo-correios
1. Go to this page and download the library: Download codephix/declaracao-conteudo-correios 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/ */
codephix / declaracao-conteudo-correios example snippets
$declaracao = new \Fontebasso\Correios\DeclaracaoConteudo\DeclaracaoConteudo(
$remetente,
$destinatario,
$itens,
2018.97 // Valor Total (R$)
);
echo $declaracao->imprimirHtml();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.