paseto / boletos
Gerador de Boletos PDF
dev-master
2020-08-19 19:30 UTC
Requires
- php: ^7.2
- itbz/fpdf: ~1.7
- mpdf/mpdf: ~5
- picqer/php-barcode-generator: ^0.1.0
Requires (Dev)
- phpstan/phpstan: ^0.9.2
- phpunit/phpunit: 4.*
- squizlabs/php_codesniffer: ^2.8
This package is auto-updated.
Last update: 2025-02-20 05:24:17 UTC
README
Gera boletos em PDF padrão CNAB 400.
Setup
$ composer require paseto/boletos
Usage
Verificar exemplos na pasta examples
Impressão em lote
Instance PDF class
$pdf = new \fpdf\FPDF(); ... foreach ($array as $key => $value){ ... $stream = base64_encode($GeradorBoleto->gerar($Boleto)->Output('doc.pdf','S')); $GeradorBoleto->gerar($Boleto, $pdf); } $pdf->Output('doc.pdf', 'I');
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D