PHPackages                             ndeet/ln-lnd-grpc - 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. ndeet/ln-lnd-grpc

Abandoned → [lnpay/php-lnd-grpc](/?search=lnpay%2Fphp-lnd-grpc)Library[API Development](/categories/api)

ndeet/ln-lnd-grpc
=================

Lightning Network LND gRPC client for Bitcoin and other supported coins. The classes and client is generated from rpc.proto.

0.5.0(7y ago)6219[1 issues](https://github.com/ndeet/php-ln-lnd-grpc/issues)MITPHPPHP &gt;=7.0

Since May 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ndeet/php-ln-lnd-grpc)[ Packagist](https://packagist.org/packages/ndeet/ln-lnd-grpc)[ RSS](/packages/ndeet-ln-lnd-grpc/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

PHP lnd gRPC client
===================

[](#php-lnd-grpc-client)

**This package has been abandoned, please use the better maintened one on lnpay here .**

This library is a gRPC client for [lnd](https://github.com/lightningnetwork/lnd) version [0.5-beta](https://github.com/lightningnetwork/lnd/releases/tag/v0.5-beta). It is generated code from [rpc.proto](https://github.com/lightningnetwork/lnd/blob/v0.5-beta/lnrpc/rpc.proto).

Requirements
============

[](#requirements)

To use this library you need to

- gRPC extension
- PHP &gt;= 7.0

Install gRPC extension if not installed

```
# pecl install grpc

```

Add grpc.so to php.ini. For PHP 7.0 in Ubuntu it will be

```
# echo 'extension=grpc.so' >> /etc/php/7.0/cli/php.ini

```

Adding to your project
======================

[](#adding-to-your-project)

#### Via composer

[](#via-composer)

```
$ cd /project/
$ composer require ndeet/ln-lnd-grpc

```

#### Cloning from Git

[](#cloning-from-git)

```
$ cd /project/
$ git clone https://github.com/ndeet/php-ln-lnd-grpc.git lndrpc
$ cd ./lndrpc/
$ composer install

```

Example
=======

[](#example)

Example of usage you can find in [example/index.php](https://github.com/ndeet/php-ln-lnd-grpc/blob/master/example/index.php). Note: This is currently untested with the latest lnd-0.5-beta release as time of committing but wanted to push the updated classes out.

Generation of PHP classes
=========================

[](#generation-of-php-classes)

As a primer to grpc and PHP see the [official tutorial](https://grpc.io/docs/quickstart/php.html) and the `lnrpc` [readme](https://github.com/lightningnetwork/lnd/tree/v0.5-beta/lnrpc).

The following command was used to generate the classes:

```
protoc -I/usr/local/include -I. -I$GOPATH/src -I$GOPATH/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/ --php_out=src --grpc_out=src --plugin=protoc-gen-grpc=/usr/local/Cellar/grpc/1.14.2/bin/grpc_php_plugin rpc.proto

```

Credits
=======

[](#credits)

This is a fork of [Bitfury Lighting gRPC PHP client](https://github.com/BitfuryLightning/php-lnd-grpc-client). Unfortunately they seem to have abandoned it and did not respond to issues/pull requests [\#1](https://github.com/BitfuryLightning/php-lnd-grpc-client/issues/2) [\#2](https://github.com/BitfuryLightning/php-lnd-grpc-client/pull/3) [\#3](https://github.com/BitfuryLightning/php-lnd-grpc-client/pull/1). That's why this fork now lives here on its own.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.8% 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 ~120 days

Total

5

Last Release

2845d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.6

0.4.0PHP &gt;=7.0

### Community

Maintainers

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

---

Top Contributors

[![ndeet](https://avatars.githubusercontent.com/u/1136761?v=4)](https://github.com/ndeet "ndeet (24 commits)")[![BitfuryLightning](https://avatars.githubusercontent.com/u/20476396?v=4)](https://github.com/BitfuryLightning "BitfuryLightning (5 commits)")

---

Tags

bitcoingrpclightning-networklndphp-librarygRPCbitcoinLightninglnd

### Embed Badge

![Health badge](/badges/ndeet-ln-lnd-grpc/health.svg)

```
[![Health](https://phpackages.com/badges/ndeet-ln-lnd-grpc/health.svg)](https://phpackages.com/packages/ndeet-ln-lnd-grpc)
```

###  Alternatives

[google/gax

Google API Core for PHP

268111.6M516](/packages/google-gax)[googleads/google-ads-php

Google Ads API client for PHP

3478.1M11](/packages/googleads-google-ads-php)[clarifai/clarifai-php-grpc

Clarifai PHP gRPC client

1229.3k](/packages/clarifai-clarifai-php-grpc)[temporal/sdk

Temporal SDK

4102.7M22](/packages/temporal-sdk)[google/grpc-gcp

gRPC GCP library for channel management

184106.3M4](/packages/google-grpc-gcp)[google/common-protos

Google API Common Protos for PHP

174112.8M64](/packages/google-common-protos)

PHPackages © 2026

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