PHPackages                             markant-norge/php-bring-api - 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. markant-norge/php-bring-api

ActiveLibrary[API Development](/categories/api)

markant-norge/php-bring-api
===========================

Bring API wrapper for PHP.

1.0.20(5y ago)19.1k↓71.8%6[1 issues](https://github.com/markant-norge/php-bring-api/issues)2PHPPHP ~5.5.0|~5.6.0|&gt;=7.0.0CI failing

Since Feb 20Pushed 5y agoCompare

[ Source](https://github.com/markant-norge/php-bring-api)[ Packagist](https://packagist.org/packages/markant-norge/php-bring-api)[ RSS](/packages/markant-norge-php-bring-api/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (23)Used By (2)

PHP Bring API
=============

[](#php-bring-api)

Use this API with any PHP application ( Magento, Wordpress, Drupal, etc. ).

Features:

- Forces request format to comply with Bring API
- Forces strict data types
- Validation before API request
- PSR-4 compliant
- Supports My bring authorization for API's that supports it ( meaning no rate limiting ).

See example folder for usage.

See [Bring Developer Section](http://developer.bring.com/) for info about the API and response array description.

Install
-------

[](#install)

Install using composer is the best way.

```
composer require markant-norge/bring-api@^1.0

```

Supporting the following APIs:
------------------------------

[](#supporting-the-following-apis)

- Booking API (EDI)
    - Book shipments.
    - Get Mybring customers.
- Shipping Guide API
    - Get estimated prices for packages.
- Tracking API
    - Track consignments
- Easy Return Service API

\*\* API's marked with \[x\] is implemented\*\*

Test (cli)
----------

[](#test-cli)

See `example` folder for example scripts.

### Testing My bring booking API

[](#testing-my-bring-booking-api)

Since the booking API requires authentication with My Bring, set some environment variables before running the test script.

UID / API key and Bring customer number is accessible in the mybring web interface.

```
cd example/
export BRING_UID="me@myemail.com" && export BRING_API_KEY="xxxxxx-xxxxx-xxx-xxxx" && export BRING_CUSTOMER="BRING__CUSTOMER_NUMBER" && php booking-api.php

```

Contribute
----------

[](#contribute)

Contributions are welcome.

License
-------

[](#license)

MIT

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 59.5% 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 ~85 days

Recently: every ~57 days

Total

15

Last Release

1855d ago

PHP version history (3 changes)1.0.5PHP ~5.5.0|~5.6.0|~7.0.0

1.0.9PHP ~5.5.0|~5.6.0|~7.0.0|~7.1.0

1.0.14PHP ~5.5.0|~5.6.0|&gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8df7be45c8913c1f3beef7ea053960b2e18d11af013caa93dc77b2468c324c4a?d=identicon)[markantnorge](/maintainers/markantnorge)

---

Top Contributors

[![gitforfareedi](https://avatars.githubusercontent.com/u/58485340?v=4)](https://github.com/gitforfareedi "gitforfareedi (25 commits)")[![jlyshoel](https://avatars.githubusercontent.com/u/25656625?v=4)](https://github.com/jlyshoel "jlyshoel (13 commits)")[![markantbot](https://avatars.githubusercontent.com/u/23191483?v=4)](https://github.com/markantbot "markantbot (2 commits)")[![umair-ayub](https://avatars.githubusercontent.com/u/48586553?v=4)](https://github.com/umair-ayub "umair-ayub (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/markant-norge-php-bring-api/health.svg)

```
[![Health](https://phpackages.com/badges/markant-norge-php-bring-api/health.svg)](https://phpackages.com/packages/markant-norge-php-bring-api)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M983](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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