PHPackages                             timonf/bricklib - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. timonf/bricklib

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timonf/bricklib
===============

Some utilities for BrickLink and LEGO Digital Designer

201PHP

Since Jun 8Pushed 7y agoCompare

[ Source](https://github.com/timonf/bricklib)[ Packagist](https://packagist.org/packages/timonf/bricklib)[ RSS](/packages/timonf-bricklib/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

BrickLib
========

[](#bricklib)

This is a small library written in PHP to utilize LEGO brick lists. BrickLib is able to convert CSV files, LDD files and LDraw files into BrickLink XML file format.

Why?
----

[](#why)

BrickLink is also able to import LDD or LDraw files directly. But I got often errors like “Part not found in catalog. item No:28327” or “Please fix the following duplicates: Item No: 3001, Color: 85”. For this reason I developed my own converter, which should avoid those errors. If you still get errors on BrickLink, please open an issue on GitHub!

Usage
-----

[](#usage)

```
bin/convert tests/data/rainbow.lxf > bricklinklist.xml

```

Make sure, you run `composer install` before (to enable autoloading).

Disclaimer
==========

[](#disclaimer)

LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize, or endorse this project.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7078280ec98a9fec8962fd908f44f6041b62c0fd5d4662ff0bc9f254d8927ea8?d=identicon)[timonf](/maintainers/timonf)

---

Top Contributors

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

---

Tags

bricklinklddldrawlegolego-digital-designerlxfml

### Embed Badge

![Health badge](/badges/timonf-bricklib/health.svg)

```
[![Health](https://phpackages.com/badges/timonf-bricklib/health.svg)](https://phpackages.com/packages/timonf-bricklib)
```

###  Alternatives

[hipchat/hipchat-php

PHP library for HipChat

1721.0M18](/packages/hipchat-hipchat-php)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[haringsrob/livewire-datepicker

A standalone livewire datepicker component without dependencies

4113.9k](/packages/haringsrob-livewire-datepicker)[prawee/yii2-vuejs

Vue.js library for Yii2

1712.2k](/packages/prawee-yii2-vuejs)

PHPackages © 2026

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