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

ActiveLibrary[API Development](/categories/api)

lojametastore/bling-php-sdk
===========================

Bling PHP SDK

0.0.4(6y ago)141MITPHPPHP ^7.3

Since May 6Pushed 4y agoCompare

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

READMEChangelogDependencies (5)Versions (5)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
    ]
]);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~0 days

Total

4

Last Release

2192d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3984760?v=4)[Kallef Alexandre](/maintainers/prhost)[@prhost](https://github.com/prhost)

---

Top Contributors

[![prhost](https://avatars.githubusercontent.com/u/3984760?v=4)](https://github.com/prhost "prhost (3 commits)")

---

Tags

apisdkBling

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/lojametastore-bling-php-sdk/health.svg)](https://phpackages.com/packages/lojametastore-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)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[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)

PHPackages © 2026

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