PHPackages                             nfservice/doc-cfe - 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. nfservice/doc-cfe

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

nfservice/doc-cfe
=================

Cria extrato da CF-e para exportar em PDF e HTML

0673PHP

Since Dec 10Pushed 1y agoCompare

[ Source](https://github.com/DevNF/doc-cfe)[ Packagist](https://packagist.org/packages/nfservice/doc-cfe)[ RSS](/packages/nfservice-doc-cfe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Extrato CF-e
============

[](#extrato-cf-e)

Requirements
------------

[](#requirements)

- PHP version 7.1 or higher

Install with composer
---------------------

[](#install-with-composer)

```
composer require nfservice/doc-cfe
```

Quick Start
-----------

[](#quick-start)

```
use NFService\CFe\Extrato;

$xml = __DIR__ . 'path_to_xml';

$logo = __DIR__ . 'path_to_logo';

$infoConsultaAplicativo = "Informação para consulta do QrCode via aplicativo utilizado no estado";

$extrato = new Extrato($xml, $logo, $infoConsultaAplicativo);

//Obtêm extrato em HTML
$html = $extrato->html();

//Obtêm extrato em PDF
$pdf = $extrato->pdf();

//Realiza download do extrato em PDF
$extrato->pdf(true);
```

Autor Original
--------------

[](#autor-original)

Este projeto foi desenvolvido originalmente por [Arley Oliveira](https://github.com/arleyoliveira).

Fork
----

[](#fork)

Este fork foi criado por [Henrique Ernandes](https://github.com/henriquernandes).

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.3% 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/01559d500b29c0fae8949667ac2f29f5c1d0381111c91a641220836854d6591c?d=identicon)[NFService](/maintainers/NFService)

---

Top Contributors

[![arleyoliveira](https://avatars.githubusercontent.com/u/12705010?v=4)](https://github.com/arleyoliveira "arleyoliveira (24 commits)")[![henriquernandes](https://avatars.githubusercontent.com/u/61748405?v=4)](https://github.com/henriquernandes "henriquernandes (2 commits)")

### Embed Badge

![Health badge](/badges/nfservice-doc-cfe/health.svg)

```
[![Health](https://phpackages.com/badges/nfservice-doc-cfe/health.svg)](https://phpackages.com/packages/nfservice-doc-cfe)
```

###  Alternatives

[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[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.2k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)[setasign/tfpdf

This class is a modified version of FPDF that adds UTF-8 support. The latest version is based on FPDF 1.85.

426.1M30](/packages/setasign-tfpdf)[aspera/xlsx-reader

Spreadsheet reader library for XLSX files

52742.2k5](/packages/aspera-xlsx-reader)

PHPackages © 2026

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