PHPackages                             notafiscalsp/notafiscal-pdf - 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. notafiscalsp/notafiscal-pdf

ActiveLibrary

notafiscalsp/notafiscal-pdf
===========================

Lib simples para gerar PDF's das Notas Fiscais da Prefeitura do Estado de São Paulo

1.0(5y ago)3251MITPHP

Since Apr 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/kaio-souza/NfSP-PDF)[ Packagist](https://packagist.org/packages/notafiscalsp/notafiscal-pdf)[ RSS](/packages/notafiscalsp-notafiscal-pdf/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

NfSP-PDF
========

[](#nfsp-pdf)

Lib simples para gerar PDF's das Notas Fiscais (NFs) da Prefeitura do Estado de São Paulo

Instalando a Lib pelo composer
------------------------------

[](#instalando-a-lib-pelo-composer)

```
    composer require notafiscalsp/notafiscal-pdf

```

getNfHtml
---------

[](#getnfhtml)

Para gerar o HTML da nota os parametros são: NUMERO DA NOTA, INSCRIÇÃO MUNICIPAL DO PRESTADOR e CÓDIGO DE VERIFICAÇÃO

```
    use NfSPPDF\NfSPPDF;

    $file = NfSPPDF::getNfHtml('0265489', '44545455', 'S2A2D54');
    echo $file;
```

getNfPdf
--------

[](#getnfpdf)

Para gerar o PDF da nota os parametros são os mesmos: NUMERO DA NOTA, INSCRIÇÃO MUNICIPAL DO PRESTADOR e CÓDIGO DE VERIFICAÇÃO

```
    use NfSPPDF\NfSPPDF;

    $file = NfSPPDF::getNfPdf('0265489', '44545455', 'S2A2D54');
    file_put_contents('/path/to/storage/lala.pdf', $file);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1842d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/962b7ae1edee171afab45eae5c6bf6a6356c80e776bc491bd1a9edbb07758a78?d=identicon)[kaleu62](/maintainers/kaleu62)

---

Top Contributors

[![kaio-souza](https://avatars.githubusercontent.com/u/16223766?v=4)](https://github.com/kaio-souza "kaio-souza (4 commits)")

---

Tags

nota fiscalnfsNota do MilhãoPrefeitura São Paulo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/notafiscalsp-notafiscal-pdf/health.svg)

```
[![Health](https://phpackages.com/badges/notafiscalsp-notafiscal-pdf/health.svg)](https://phpackages.com/packages/notafiscalsp-notafiscal-pdf)
```

###  Alternatives

[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M275](/packages/barryvdh-laravel-dompdf)[kaleu62/notafiscalsp

Integração com o WebService da Prefeitura de São Paulo para emissão de NFS e NTFS utilizando a API da nota do milhão

5731.2k](/packages/kaleu62-notafiscalsp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)

PHPackages © 2026

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