PHPackages                             utxo-one/lnd-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. utxo-one/lnd-php

ActiveLibrary

utxo-one/lnd-php
================

An opinionated SDK for lncli commands via PHP

v0.1.3(3y ago)1287921MITPHP

Since Nov 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/utxo-one/lnd-php)[ Packagist](https://packagist.org/packages/utxo-one/lnd-php)[ RSS](/packages/utxo-one-lnd-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (14)Used By (1)

PHP-LND (ALPHA RELEASE)
-----------------------

[](#php-lnd-alpha-release)

A PHP SDK for the LND implementation of the Lightning Network

### Installation

[](#installation)

```
composer require utxo-one/lnd-php

```

### Usage

[](#usage)

```
use UtxoOne\LndPhp\Services\LightningService;

// Initialize an LND Instance.
$lightningService = new LightningService(
    host: $this->host,
    port: $this->port,
    macaroonHex: $this->macaroonHex,
    tlsCertificat: $this->tlsCertificate,
);

// Execute a command. ie getinfo
$nodeInfo = $lightningService->getInfo();

// Get the results
$nodeInfo->getVersion();
$nodeInfo->getCommitHash();
$nodeInfo->getIdentityPubkey();
$nodeInfo->getAlias();
$nodeInfo->getNumPendingChannels();
$nodeInfo->getNumActiveChannels();
$nodeInfo->getNumPeers();
$nodeInfo->getBlockHash();
$nodeInfo->getBlockHeight();
$nodeInfo->getUris();
$nodeInfo->getBestHeaderTimestamp();
$nodeInfo->isSyncedToChain();
$nodeInfo->isTestnet();
$nodeInfo->requiresHtlcInterceptor();
```

### Available Methods

[](#available-methods)

```
// Lightning Service
$lightningService->getInfo();
$lightningService->abandonChannel();
$lightningService->addInvoice();
$lightningService->bakeMacaroon();
$lightningService->batchOpenChannel();
$lightningService->channelAcceptor();
$lightningService->channelBalance();
$lightningService->checkMacaroonPermissions();
$lightningService->closeChannel();
$lightningService->closedChannels();
$lightningService->lookupInvoice();
$lightningService->sendCoins();
$lightningService->sendMany();
$lightningService->getInfo();

// WalletKit Service
$walletKitService->nextAddr();
$walletKitService->listAddresses();
$walletKitService->listUnspent();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

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

Total

11

Last Release

1207d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4c942987b5afb2d4a2bc668c05c3984c264994be5a41e5824c996e030f8e17b?d=identicon)[utxo-one](/maintainers/utxo-one)

---

Top Contributors

[![utxo-one](https://avatars.githubusercontent.com/u/111649294?v=4)](https://github.com/utxo-one "utxo-one (36 commits)")

---

Tags

bitcoinlightninglightning-networklndphp8restrest-apisdksdk-php

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/utxo-one-lnd-php/health.svg)

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

PHPackages © 2026

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