apility/bring-client

Bring API Client for the Netflex SDK

Maintainers

Package info

github.com/apility/bring-client

pkg:composer/apility/bring-client

Statistics

Installs: 41

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.0.1 2021-03-23 13:58 UTC

This package is auto-updated.

Last update: 2026-03-08 22:52:56 UTC


README

Setup

Add config/bring.php like the following example:

return [
    'login_id' => 'user@example.com',
    'api_key' => '00000000-000-0000-0000-000000000000'
];

or simply create the following .ENV variables:

BRING_LOGIN_ID=user@example.com
BRING_API_KEY=00000000-000-0000-0000-000000000000

Usage

<?php

use Bring;

$postalCode = Bring::lookupPostalCode(5161);

if ($postalCode) {
    echo $postalCode->city;
} else {
    echo 'Postalcode not found';
}