PHPackages                             davesweb/bricklink-api - 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. davesweb/bricklink-api

ActiveLibrary[API Development](/categories/api)

davesweb/bricklink-api
======================

A PHP wrapper around the Bricklink API

1.0.1(3y ago)67416[1 issues](https://github.com/davesweb/bricklink-api/issues)[3 PRs](https://github.com/davesweb/bricklink-api/pulls)1MITPHPPHP ^8.0

Since Aug 11Pushed 3y ago3 watchersCompare

[ Source](https://github.com/davesweb/bricklink-api)[ Packagist](https://packagist.org/packages/davesweb/bricklink-api)[ RSS](/packages/davesweb-bricklink-api/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (7)Dependencies (5)Versions (9)Used By (1)

Bricklink API
=============

[](#bricklink-api)

A PHP SDK for the Bricklink API. This package provides an easy way to authenticate with the Bricklink API, so you can run requests directly against the Bricklink API. This package also provides some repositories for easier and object-oriented communication with the Bricklink API.

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

[](#installation)

`composer require davesweb/bricklink-api`

Usage
-----

[](#usage)

The following examples are just the basic usage of how to set up this package. Please read the [complete documentation](https://davesweb.github.io/bricklink-api/) for more detailed and advanced examples of how to use this package and how to extend this package.

### Authentication

[](#authentication)

First, create a config object with your secrets and tokens you got from Bricklink.

```
