luno / luno-php
PHP SDK for the Luno API
Installs: 1 795
Dependents: 0
Suggesters: 0
Security: 0
Stars: 12
Watchers: 0
Forks: 26
Open Issues: 7
pkg:composer/luno/luno-php
Requires
- guzzlehttp/guzzle: ^6.3.3
- netresearch/jsonmapper: ^1.4
Requires (Dev)
- phpunit/phpunit: 7.1.4
- dev-main
- 0.0.14
- 0.0.13
- 0.0.4
- 0.0.3
- 0.0.2
- v0.0.1-alpha
- dev-renovate/phpunit-phpunit-13.x
- dev-renovate/actions-cache-5.x
- dev-renovate/actions-checkout-6.x
- dev-fix/aikido-security-sast-8912684-hmLs
- dev-renovate/netresearch-jsonmapper-5.x
- dev-renovate/guzzlehttp-guzzle-7.x
- dev-renovate/phpunit-phpunit-12.x
This package is not auto-updated.
Last update: 2026-02-16 22:38:16 UTC
README
Luno API 
This PHP package provides a wrapper for the Luno API.
Installation
composer require "luno/luno-php"
Authentication
Please visit the Settings page to generate an API key.
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(); }