PHPackages                             kcfbricks/php-bricklink-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. kcfbricks/php-bricklink-sdk

ActiveLibrary[API Development](/categories/api)

kcfbricks/php-bricklink-sdk
===========================

PHP client library for the BrickLink API

v0.3.4(1mo ago)054MITPHP

Since Aug 25Pushed 1mo agoCompare

[ Source](https://github.com/kcfbricks/php-bricklink-sdk)[ Packagist](https://packagist.org/packages/kcfbricks/php-bricklink-sdk)[ RSS](/packages/kcfbricks-php-bricklink-sdk/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (9)Dependencies (7)Versions (13)Used By (0)

php-bricklink-sdk
=================

[](#php-bricklink-sdk)

PHP SDK for the BrickLink API

Features
--------

[](#features)

- Complete BrickLink API integration
- OAuth1 authentication
- Order management (fetch, update, status changes)
- Inventory operations
- **Mock testing system** for development and testing without real API calls

Mock Testing
------------

[](#mock-testing)

This SDK includes a comprehensive mock testing system that allows you to develop and test your BrickLink integration without making real API calls.

```
use Kcfbricks\PhpBricklinkSdk\Testing\MockClientFactory;
use Kcfbricks\PhpBricklinkSdk\Order\OrderRequest;

// Create mock client with realistic test data
$mockClient = MockClientFactory::createWithRealisticData();

// Use exactly like the real client
$orders = OrderRequest::getOrders($mockClient);
$order = OrderRequest::getOrder($mockClient, 12345);
$orderItems = OrderRequest::getOrderItems($mockClient, 12345);
```

See [MOCK\_TESTING.md](MOCK_TESTING.md) for complete documentation and examples.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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

Recently: every ~60 days

Total

10

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11bf2a8cb4395896e8d73f9c31620728cae4d54dfac172a39ca19015cf87cf35?d=identicon)[pcuser42](/maintainers/pcuser42)

---

Top Contributors

[![pcuser42](https://avatars.githubusercontent.com/u/8156362?v=4)](https://github.com/pcuser42 "pcuser42 (29 commits)")

###  Code Quality

Static AnalysisRector

### Embed Badge

![Health badge](/badges/kcfbricks-php-bricklink-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kcfbricks-php-bricklink-sdk/health.svg)](https://phpackages.com/packages/kcfbricks-php-bricklink-sdk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[seatsio/seatsio-php

A PHP client for the seats.io API

17768.4k](/packages/seatsio-seatsio-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

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

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

1772.4k4](/packages/aimeos-prisma)

PHPackages © 2026

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