PHPackages                             xyrotech/orin - 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. xyrotech/orin

ActiveLibrary[API Development](/categories/api)

xyrotech/orin
=============

Discog PHP Client

v1.1.4(4y ago)239MITPHPPHP &gt;=7.4

Since Jun 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/xyrotech/orin)[ Packagist](https://packagist.org/packages/xyrotech/orin)[ Docs](https://github.com/xyrotech/orin)[ RSS](/packages/xyrotech-orin/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)Dependencies (9)Versions (6)Used By (0)

Discogs PHP Client
==================

[](#discogs-php-client)

[![Packagist Version](https://camo.githubusercontent.com/79943b3588e1df0541ac6d2f9e3e6b16252644ce317205a3983abdb4b0aacf22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7879726f746563682f6f72696e)](https://packagist.org/packages/xyrotech/orin)[![Tests](https://github.com/xyrotech/orin/actions/workflows/run-tests.yml/badge.svg)](https://github.com/xyrotech/orin/actions/workflows/run-tests.yml)[![Check & fix styling](https://github.com/xyrotech/orin/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/xyrotech/orin/actions/workflows/php-cs-fixer.yml)[![Psalm](https://github.com/xyrotech/orin/actions/workflows/psalm.yml/badge.svg?branch=main)](https://github.com/xyrotech/orin/actions/workflows/psalm.yml)[![Total Downloads](https://camo.githubusercontent.com/5b8a17dc2ce2ede83bed8885ba77feb19e6e56595525f18e07c605907ffafc00/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7879726f746563682f6f72696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/xyrotech/orin)[![Packagist PHP Version Support](https://camo.githubusercontent.com/06c6844950ad6dff6e1779c24b37b46c7b778ba3e8d375925888a039a53e17b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7879726f746563682f6f72696e)](https://camo.githubusercontent.com/06c6844950ad6dff6e1779c24b37b46c7b778ba3e8d375925888a039a53e17b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7879726f746563682f6f72696e)

Orin is a Discogs API PHP client library which utilizes GuzzleHttp.

[📚 Documentation](https://xyrotech.github.io/orin/)

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

[](#installation)

You can install the package via composer:

```
composer require xyrotech/orin
```

Requirements
------------

[](#requirements)

PHP &gt;= 7.4

Usage
-----

[](#usage)

Copy the config file.

### Plain PHP

[](#plain-php)

```
cp vendor/xyrotech/orin/config/orin.php myconfig
```

### Laravel

[](#laravel)

```
php artisan vendor:publish --provider="Xyrotech\OrinServiceProvider" --tag="orin-config"
```

```
$config = include('orin.php');

$discog = new Xyrotech\Orin($config);

$artist = $discog->artist(45);

echo $artist->name;
```

### Output

[](#output)

```
'Aphex Twin'
```

This library follows the [API Documentation](https://www.discogs.com/developers) heavily. All endpoints have a corresponding methods. i.e. [All Label Release](https://www.discogs.com/developers/#page:database,header:database-all-label-releases) would have the equivalent method below

```
$config = include('orin_config.php');

$discog = new Xyrotech\Orin($config);

$label = $discog->all_label_releases(1);

var_dump($label->releases); // An array of label releases
```

Testing
-------

[](#testing)

Clone the repository and install dependencies:

```
git clone https://github.com/xyrotech/orin.git && composer install
```

Create your own config.php based on `/tests/configs/config.test.php` with your own authentication. Be sure to change the username at the bottom of the config to match the account information.

```
composer test
```

> Orders may not work properly as it would require you to create a listing and buy it using another account to push the order to the "SOLD" status.

```
composer format
```

```
composer psalm
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Adekunle Adelakun](https://github.com/kunli0)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~9 days

Total

5

Last Release

1751d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11678847?v=4)[kunli0](/maintainers/kunli0)[@kunli0](https://github.com/kunli0)

---

Top Contributors

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

---

Tags

discog-php-clientdiscogs-apixyrotechorin

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/xyrotech-orin/health.svg)

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

###  Alternatives

[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[simplestats-io/laravel-client

Client for SimpleStats!

4515.5k](/packages/simplestats-io-laravel-client)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[njoguamos/laravel-plausible

A laravel package for interacting with plausible analytics api.

208.8k](/packages/njoguamos-laravel-plausible)[ryangjchandler/bearer

Minimalistic token-based authentication for Laravel API endpoints.

8129.8k](/packages/ryangjchandler-bearer)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)

PHPackages © 2026

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