eunarede / bling-php-sdk
This package is abandoned and no longer maintained.
No replacement package was suggested.
SDK PHP para Bling ERP
1.0.2
2019-09-11 02:45 UTC
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: >=6.2
- italodeveloper/guzzle-zend: ^1.2
- psr/log: ^1.1
- spatie/array-to-xml: ^2.11
Requires (Dev)
- phpdocumentor/phpdocumentor: ^2.9
- phpunit/phpunit: ^6.5
- zendframework/zend-http: >=2.5
This package is auto-updated.
Last update: 2021-02-11 06:50:55 UTC
README
PHP SDK (não oficial) para Bling ERP
Criando o cliente de configuração e autenticação
use Bling\Core\Config; use Bling\BlingClient; $apitoken = '1234'; $client = new BlingClient(Config::configure($apitoken));
Contatos
use os seguintes métodos abaixo para trabalhar com a API de contatos da Bling.
Listar Contatos
try { $listarContatos = $client->getAllContatos(); print_r($listarContatos); } catch (\Exception $e) { echo $e->getMessage() . PHP_EOL; }