PHPackages                             paseto/boletos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. paseto/boletos

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

paseto/boletos
==============

Gerador de Boletos PDF

01PHPCI failing

Since Aug 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/paseto/boletos)[ Packagist](https://packagist.org/packages/paseto/boletos)[ RSS](/packages/paseto-boletos/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Gerador de Boletos PDF
======================

[](#gerador-de-boletos-pdf)

[![Build Status](https://camo.githubusercontent.com/db497453318e0cc119732abaa2aa1c80cded6a8672f22e8f54c4452749988161/68747470733a2f2f7472617669732d63692e6f72672f70617365746f2f626f6c65746f732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/paseto/boletos)[![Latest Stable Version](https://camo.githubusercontent.com/af34781fb6f421068d0a5c709712eaad4146f3762ba6682de02eddf6faab895c/68747470733a2f2f706f7365722e707567782e6f72672f70617365746f2f626f6c65746f732f762f737461626c65)](https://packagist.org/packages/paseto/boletos)[![Total Downloads](https://camo.githubusercontent.com/1d4dd900f8c79677018102f8549c350c7b47027efcfce9cdb9b44340bc477787/68747470733a2f2f706f7365722e707567782e6f72672f70617365746f2f626f6c65746f732f646f776e6c6f616473)](https://packagist.org/packages/paseto/boletos)[![](https://camo.githubusercontent.com/f297f87bf8eca3e11083db23c0fe6d4842edacf4c2eee29d8130d9a9148d3300/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70617365746f2f626f6c65746f2e737667)](https://camo.githubusercontent.com/f297f87bf8eca3e11083db23c0fe6d4842edacf4c2eee29d8130d9a9148d3300/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f70617365746f2f626f6c65746f2e737667)

Gera boletos em PDF padrão CNAB 400.

BancosVersãoBanco do BrasilTesteBanrisulTesteBradescoTesteCaixaTesteItaúTesteSicrediEstável### Setup

[](#setup)

```
$ composer require paseto/boletos
```

### Usage

[](#usage)

Verificar exemplos na pasta `examples`

### Impressão em lote

[](#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
------------

[](#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

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ea689b9912df39e779b2aef84da7c87f6deeeb9f376016109036a3d1821f139?d=identicon)[paseto](/maintainers/paseto)

---

Top Contributors

[![paseto](https://avatars.githubusercontent.com/u/1163778?v=4)](https://github.com/paseto "paseto (13 commits)")

### Embed Badge

![Health badge](/badges/paseto-boletos/health.svg)

```
[![Health](https://phpackages.com/badges/paseto-boletos/health.svg)](https://phpackages.com/packages/paseto-boletos)
```

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
