PHPackages                             fcodedigital/bling-php-sdk - 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. fcodedigital/bling-php-sdk

ActiveLibrary[API Development](/categories/api)

fcodedigital/bling-php-sdk
==========================

Bling PHP SDK

1.2(4y ago)0131MITPHP

Since May 6Pushed 4y agoCompare

[ Source](https://github.com/FCodeDigital/bling-php-sdk)[ Packagist](https://packagist.org/packages/fcodedigital/bling-php-sdk)[ RSS](/packages/fcodedigital-bling-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (10)Used By (0)

Bling PHP SDK
=============

[](#bling-php-sdk)

This package provides PHP SDK to the Bling API v2 ([https://manuais.bling.com.br/manual/?categoria=api-v2&amp;tipo=api](https://manuais.bling.com.br/manual/?categoria=api-v2&tipo=api)).

Installation
------------

[](#installation)

Install this package with composer.

```
composer require rits-tecnologia/bling-php-sdk
```

Usage
-----

[](#usage)

```
$bling = new Bling(env('BLING_API_KEY'));

// repositories
$bling->products();
$bling->orders();
$bling->logistics();
$bling->nfes();
$bling->nfces();
$bling->nfses();
```

### Examples

[](#examples)

```
// list all orders
$bling->orders()->all([
    'dataEmissao' => '01/01/2020 TO 31/12/2020'
]);

// find order
$bling->orders()->find(1);

// create new order and NF-e
$bling->orders()->create([
    'pedido' => [
        'cliente' => [
            'nome' => 'Organisys Software',
            'tipoPessoa' => 'J',
            'cpf_cnpj' => '00000000000000',
            'ie_rg' => '3067663000',
            'endereco' => 'Rua Visconde de São Gabriel',
            'numero' => '392',
            'complemento' => 'Sala 54',
            'bairro' => 'Cidade Alta',
            'cep' => '95.700-000',
            'cidade' => 'Bento Gonçalves',
            'uf' => 'RS',
            'fone' => '54 8115-3376',
            'email' => 'teste@teste.com.br',
        ],
        'transporte' => [
            'transportadora' => 'Transportadora XYZ',
            'tipo_frete' => 'R',
            'servico_correios' => 'SEDEX',
            'dados_etiqueta' => [
                'nome' => 'Endereço de entrega',
                'endereco' => 'Rua Visconde de São Gabriel',
                'numero' => '392',
                'complemento' => 'Sala 59',
                'municipio' => 'Bento Gonçalves',
                'uf' => 'RS',
                'cep' => '95.700-000',
                'bairro' => 'Cidade Alta',
            ],
            'volumes' => [
                'volume' => [
                    [
                        'servico' => 'SEDEX - CONTRATO',
                        'codigoRastreamento' => '',
                    ],
                    [
                        'servico' => 'PAC - CONTRATO',
                        'codigoRastreamento' => '',
                    ],
                ],
            ],
        ],
        'itens' => [
            'item' => [
                [
                    'codigo' => '001',
                    'descricao' => 'Caneta 001',
                    'un' => 'Pç',
                    'qtde' => '10',
                    'vlr_unit' => '1.68',
                ],
                [
                    'codigo' => '002',
                    'descricao' => 'Caderno 002',
                    'un' => 'Un',
                    'qtde' => '3',
                    'vlr_unit' => '3.75',
                ],
                [
                    'codigo' => '003',
                    'descricao' => 'Teclado 003',
                    'un' => 'Cx',
                    'qtde' => '7',
                    'vlr_unit' => '18.65',
                ],
            ],
        ],
        'parcelas' => [
            'parcela' => [
                [
                    'data' => '01/09/2009',
                    'vlr' => '100',
                    'obs' => 'Teste obs 1',
                ],
                [
                    'data' => '06/09/2009',
                    'vlr' => '50',
                    'obs' => '',
                ],
                [
                    'data' => '11/09/2009',
                    'vlr' => '50',
                    'obs' => 'Teste obs 3',
                ],
            ],
        ],
        'vlr_frete' => '15',
        'vlr_desconto' => '10',
        'obs' => 'Testando o campo observações do pedido',
        'obs_internas' => 'Testando o campo observações internas do pedido'
    ],
], true);

// update order
$bling->orders()->update(1, [
    'pedido' => [
        'situacao' => 3
    ]
]);
```

License
-------

[](#license)

Projeto sob licença MIT. Desenvolvido originalmente por [Rits Tecnologia](https://github.com/rits-tecnologia/bling-php-sdk).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~83 days

Recently: every ~42 days

Total

9

Last Release

1530d ago

Major Versions

0.0.5 → 1.0.02022-01-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/22de17047373a01b9e280b5598dbc6954ec837786875f6eae463ff8012e657f3?d=identicon)[stringariSM](/maintainers/stringariSM)

---

Top Contributors

[![stringariSM](https://avatars.githubusercontent.com/u/2287935?v=4)](https://github.com/stringariSM "stringariSM (7 commits)")

---

Tags

apisdkBling

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fcodedigital-bling-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/fcodedigital-bling-php-sdk/health.svg)](https://phpackages.com/packages/fcodedigital-bling-php-sdk)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)[rits-tecnologia/bling-php-sdk

Bling PHP SDK

1115.7k](/packages/rits-tecnologia-bling-php-sdk)

PHPackages © 2026

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