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

0871PHP

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 today

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 9% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity17

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://avatars.githubusercontent.com/u/2781050?v=4)[NFSERVICE](/maintainers/NFService)[@nfservice](https://github.com/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

[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.9k](/packages/tarfin-labs-easy-pdf)

PHPackages © 2026

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