PHPackages                             kinimodmeyer/tradebyte-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. kinimodmeyer/tradebyte-sdk

ActiveLibrary[API Development](/categories/api)

kinimodmeyer/tradebyte-sdk
==========================

Tradebyte SDK

v0.4.0(2y ago)168.4k↓72.9%7[1 PRs](https://github.com/kinimodmeyer/tradebyte-sdk-php/pulls)MITPHPPHP 7.4.\* || 8.0.\* || 8.1.\* || 8.2.\* || 8.3.\*

Since Oct 19Pushed 1y ago6 watchersCompare

[ Source](https://github.com/kinimodmeyer/tradebyte-sdk-php)[ Packagist](https://packagist.org/packages/kinimodmeyer/tradebyte-sdk)[ Docs](https://github.com/kinimodmeyer/tradebyte-sdk-php)[ RSS](/packages/kinimodmeyer-tradebyte-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (2)Versions (11)Used By (0)

Tradebyte SDK
=============

[](#tradebyte-sdk)

An SDK that provides multiple ways to interact with the Tradebyte API. For more information, visit [TB.IO](https://tradebyte.io).

Features
--------

[](#features)

- **Memory Efficiency:** The SDK is designed to consume minimal memory and can efficiently process large XML files - potentially gigabytes in size - through extensive use of iterators and XML readers.
- **Flexible Processing:** Depending on your needs, you can process data "on the fly" or opt for a "download and re-open" approach.
- **Supported Entities:** The SDK supports several entities with multiple endpoints, including: product, order, message, stock, upload

Requirements
------------

[](#requirements)

- Credentials (username, password, account-number)
    - See  for details.
- PHP &gt;= 7.4
- Composer
- cURL

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

[](#installation)

1. download composer ()
2. execute the following:

```
$ composer require kinimodmeyer/tradebyte-sdk
```

Quick Example (message)
-----------------------

[](#quick-example-message)

```
//only needed if not already included
require './vendor/autoload.php';

$client = new Tradebyte\Client([
    'credentials' => [
         'account_number' => '',
         'account_user' => '',
         'account_password' => ''
     ]
]);

//different handler can be used here
$messageHandler = $client->getMessageHandler();

//fetch message with message-identifier 5
var_dump($messageHandler->getMessage(5)->getId());

//or download/reopen message
$messageHandler->downloadMessage(__DIR__.'/message_5.xml', 5);
var_dump($messageHandler->getMessageFromFile(__DIR__.'/message_5.xml'));

//see also the other possible methods on the handler for list-handling, acknowledge an many more ...
```

Example Files
-------------

[](#example-files)

Copy the `vendor/kinimodmeyer/tradebyte-sdk/examples/` folder to your project-root. Rename `examples/example_credentials.php` to `examples/credentials.php` and replace the credentials. Execute the examples from the cli:

```
$ php examples/products.php channel=1370 id=123
$ php examples/orders.php
$ php examples/messages.php
$ php examples/stock.php channel=1370 delta=123
```

Tests
-----

[](#tests)

Execute the test with the following:

```
$ ./vendor/bin/phpunit tests
```

Code Analysis
-------------

[](#code-analysis)

Execute the analysis with the following:

```
$ ./vendor/bin/phpcs src
$ ./vendor/bin/phpcs tests
```

Fix (if possible) with the following:

```
$ ./vendor/bin/phpcbf src
$ ./vendor/bin/phpcbf tests
```

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~172 days

Total

8

Last Release

804d ago

PHP version history (3 changes)0.1.0PHP ^7.3

v0.3.0PHP 7.4.\* || 8.0.\* || 8.1.\*

v0.3.3PHP 7.4.\* || 8.0.\* || 8.1.\* || 8.2.\* || 8.3.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/72fb46397461db82ac72e808c5be76ee28e3dd33f0829a87149cd6d18767a98c?d=identicon)[kinimodmeyer](/maintainers/kinimodmeyer)

---

Top Contributors

[![dominikmebs](https://avatars.githubusercontent.com/u/3705274?v=4)](https://github.com/dominikmebs "dominikmebs (95 commits)")[![kinimodmeyer](https://avatars.githubusercontent.com/u/3705274?v=4)](https://github.com/kinimodmeyer "kinimodmeyer (95 commits)")[![StilgarBF](https://avatars.githubusercontent.com/u/1231516?v=4)](https://github.com/StilgarBF "StilgarBF (2 commits)")[![resslinger](https://avatars.githubusercontent.com/u/6031484?v=4)](https://github.com/resslinger "resslinger (1 commits)")[![santn-8bit](https://avatars.githubusercontent.com/u/26873857?v=4)](https://github.com/santn-8bit "santn-8bit (1 commits)")[![sbaumeister](https://avatars.githubusercontent.com/u/128112?v=4)](https://github.com/sbaumeister "sbaumeister (1 commits)")

---

Tags

apiphpsdktbonetradebyte

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kinimodmeyer-tradebyte-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kinimodmeyer-tradebyte-sdk/health.svg)](https://phpackages.com/packages/kinimodmeyer-tradebyte-sdk)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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