PHPackages                             keercus/bling-notafiscal - 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. [API Development](/categories/api)
4. /
5. keercus/bling-notafiscal

ActiveLibrary[API Development](/categories/api)

keercus/bling-notafiscal
========================

Client para conexão com Bling ERP

v1.0.4(7y ago)4631MITPHPPHP &gt;=7.1

Since Mar 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Keercus/Bling-NotaFiscal)[ Packagist](https://packagist.org/packages/keercus/bling-notafiscal)[ RSS](/packages/keercus-bling-notafiscal/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (6)Used By (0)

Bling Nota Fiscal
=================

[](#bling-nota-fiscal)

Biblioteca se propóe à comunicar com o Bling ERP para envio de produtos e geração notas fiscais.

Documentação Bling
==================

[](#documentação-bling)

Para acessar, basca clicar [aqui](https://manuais.bling.com.br/api/?item=notas-fiscais)

Exemplo
=======

[](#exemplo)

Buscar dados da nota Fiscal
---------------------------

[](#buscar-dados-da-nota-fiscal)

```
require __DIR__ . '/vendor/autoload.php';

$bling = new \Bling\NotaFiscal\Bling('sua-api-key');
$nota = $bling->buscaNotaFiscal('numero-nota', 'serie'); // Retorna NotaFiscal()

echo $nota->getChaveAcesso();
```

Enviar dados de nota fiscal
---------------------------

[](#enviar-dados-de-nota-fiscal)

```
require_once __DIR__ . '/vendor/autoload.php';

use Bling\NotaFiscal\Entity\Cliente;
use Bling\NotaFiscal\Entity\Endereco;
use Bling\NotaFiscal\Entity\Item;
use Bling\NotaFiscal\Entity\Pedido;

function generateCliente(): Cliente
{
    return new Cliente(
        'Teste',
        Cliente::TIPO_FISICA,
        '12345678911',
        '12345678',
        'teste@teste.com',
        generateEndereco()
    );
}

function generateEndereco(): Endereco
{
    return new Endereco('Teste', '123', 'Teste Complemento', 'Teste Bairro', '12345789', 'Teste Cidade', 'TS');
}

function generateItem(): Item
{
    return new Item('123', 'Nome do produto', 10.00, 1.123, 1.123, '4820.1000', 1, '0', 'un', Item::TIPO_PRODUTO);
}

function generatePedido(): Pedido
{
    return new Pedido('002', generateCliente(), [generateItem()], 0, [], 0, 0, 0, '');
}

$apiKey = 'sua-api-key';
$bling = new Bling\NotaFiscal\Bling($apiKey);

$response = $bling->enviaNotaFiscal(generatePedido());

var_dump($response);
```

Objeto NotaFiscal
-----------------

[](#objeto-notafiscal)

Ao enviar uma nova nota ou buscar uma nota qualquer, será retornado uma Entidade `NotaFiscal` com as seguintes informações

- Chave de Acesso
- Link do XML
- Link do Danfe
- Número da Nota
- Série
- Situação

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~50 days

Total

5

Last Release

2828d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49bab1495fae4ed40bdfb59927226cf7c3c42f1f01a5dd99514f40294da17f4a?d=identicon)[igor822](/maintainers/igor822)

---

Top Contributors

[![igor822](https://avatars.githubusercontent.com/u/19034?v=4)](https://github.com/igor822 "igor822 (38 commits)")

---

Tags

client api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/keercus-bling-notafiscal/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[corsinvest/cv4pve-api-php

Corsinvest Proxmox VE Client API PHP

811.4M](/packages/corsinvest-cv4pve-api-php)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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