PHPackages                             luno/luno-php - 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. luno/luno-php

ActiveLibrary[API Development](/categories/api)

luno/luno-php
=============

PHP SDK for the Luno API

0.0.14(3y ago)121.8k26[1 issues](https://github.com/luno/luno-php/issues)[6 PRs](https://github.com/luno/luno-php/pulls)MITPHPCI failing

Since May 25Pushed 3mo agoCompare

[ Source](https://github.com/luno/luno-php)[ Packagist](https://packagist.org/packages/luno/luno-php)[ Docs](https://github.com/luno/luno-php)[ RSS](/packages/luno-luno-php/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

[![](https://camo.githubusercontent.com/b0d136b682d965c981378ac1c2a0a981e6e24704fa3df46100c3314ba0b0173b/68747470733a2f2f64333265786938763961763375782e636c6f756466726f6e742e6e65742f7374617469632f696d616765732f6c756e6f2d656d61696c2d3333362e706e67)](https://camo.githubusercontent.com/b0d136b682d965c981378ac1c2a0a981e6e24704fa3df46100c3314ba0b0173b/68747470733a2f2f64333265786938763961763375782e636c6f756466726f6e742e6e65742f7374617469632f696d616765732f6c756e6f2d656d61696c2d3333362e706e67)

Luno API [![Build Status](https://camo.githubusercontent.com/c33c97ec4ec5b26c1ace645401faebd240515e95d6e4691b9136e26c14777ee9/68747470733a2f2f7472617669732d63692e6f72672f6c756e6f2f6c756e6f2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/luno/luno-php)
===============================================================================================================================================================================================================================================================================

[](#luno-api-)

This PHP package provides a wrapper for the [Luno API](https://www.luno.com/api).

### Installation

[](#installation)

```
composer require "luno/luno-php"

```

### Authentication

[](#authentication)

Please visit the [Settings](https://www.luno.com/wallet/settings/api_keys) page to generate an API key.

### Example usage

[](#example-usage)

```
$client = new Luno\Client();
$client->setAuth("api_key_id", "api_key_secret");

$req = new Luno\Request\GetOrderBook();
$req->setPair("XBTZAR");

try {
  $res = $client->getOrderBook($req);
  echo "Found " . count($res->getBids()) . " bid(s)";
} catch (Luno\Error $e) {
  echo $e->message();
}
```

### License

[](#license)

[MIT](https://github.com/luno/luno-php/blob/master/LICENSE.md)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance53

Moderate activity, may be stable

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~448 days

Total

6

Last Release

1096d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f30e429013893cf6b40273b76d573d99cd0e65f7d92864caf2cc786d5dfe192e?d=identicon)[neilgarb](/maintainers/neilgarb)

---

Top Contributors

[![neilgarb](https://avatars.githubusercontent.com/u/598376?v=4)](https://github.com/neilgarb "neilgarb (32 commits)")[![NeilLuno](https://avatars.githubusercontent.com/u/27680722?v=4)](https://github.com/NeilLuno "NeilLuno (18 commits)")[![ClaudiaGrindlay](https://avatars.githubusercontent.com/u/26711320?v=4)](https://github.com/ClaudiaGrindlay "ClaudiaGrindlay (10 commits)")[![natercioluno](https://avatars.githubusercontent.com/u/56432143?v=4)](https://github.com/natercioluno "natercioluno (4 commits)")[![adamhicks](https://avatars.githubusercontent.com/u/22911410?v=4)](https://github.com/adamhicks "adamhicks (3 commits)")[![jrkilloran](https://avatars.githubusercontent.com/u/118196197?v=4)](https://github.com/jrkilloran "jrkilloran (2 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")[![Bubblyworld](https://avatars.githubusercontent.com/u/6214591?v=4)](https://github.com/Bubblyworld "Bubblyworld (1 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![Livijn](https://avatars.githubusercontent.com/u/349311?v=4)](https://github.com/Livijn "Livijn (1 commits)")

---

Tags

hacktoberfestbitcoinethereumluno

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luno-luno-php/health.svg)

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

###  Alternatives

[coinbase/coinbase-commerce

Coinbase Commerce API library

148275.7k2](/packages/coinbase-coinbase-commerce)[coinpaymentsnet/coinpayments-php

A PHP wrapper for the CoinPayments.net v1 API.

55126.2k](/packages/coinpaymentsnet-coinpayments-php)[shoppy/shoppy-php

Shoppy PHP Library

1813.3k](/packages/shoppy-shoppy-php)

PHPackages © 2026

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