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

ActiveLibrary

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

PHP SDK for the BrickLink API

v0.3.3(3w ago)044↓100%PHP

Since Aug 25Pushed 3w 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 today

READMEChangelog (9)Dependencies (3)Versions (12)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

37

—

LowBetter than 84% of packages

Maintenance95

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

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

Recently: every ~44 days

Total

9

Last Release

23d 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 (26 commits)")

### 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

[lesstif/confluence-rest-api

Confluence REST API Client for PHP Users.

1713.3k](/packages/lesstif-confluence-rest-api)

PHPackages © 2026

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