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(2mo ago)044↓100%PHP

Since Aug 25Pushed 2mo 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 1mo ago

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 82% of packages

Maintenance92

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

69d 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

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[nkl-kst/the-sports-db

PHP library to get sports data from TheSportsDB (https://www.thesportsdb.com)

271.2k](/packages/nkl-kst-the-sports-db)

PHPackages © 2026

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