2017 © Pedro Peláez
 

library boletos

Gerador de Boletos

image

paseto/boletos

Gerador de Boletos

  • Wednesday, June 21, 2017
  • by paseto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Gerador de Boletos PDF

Build Status Latest Stable Version Total Downloads , (*1)

Gera boletos em PDF padrão CNAB 400., (*2)

Bancos Versão
Banco do Brasil Teste
Banrisul Teste
Bradesco Teste
Caixa Teste
Itaú Teste
Sicredi Estável

Setup

$ composer require paseto/boletos

Usage

Verificar exemplos na pasta examples, (*3)

Impressão em lote

Instance PDF class, (*4)

$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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

The Versions