PHPackages                             lnpay/php-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. lnpay/php-lnd-grpc

ActiveLibrary[API Development](/categories/api)

lnpay/php-lnd-grpc
==================

PHP LND RPC Implementation

v0.7.1(6y ago)58244[1 PRs](https://github.com/lnpay/php-lnd-grpc/pulls)1PHPCI failing

Since Nov 13Pushed 2y ago2 watchersCompare

[ Source](https://github.com/lnpay/php-lnd-grpc)[ Packagist](https://packagist.org/packages/lnpay/php-lnd-grpc)[ RSS](/packages/lnpay-php-lnd-grpc/feed)WikiDiscussions master Synced today

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

LND RPC FOR PHP
===============

[](#lnd-rpc-for-php)

PHP Requirements
----------------

[](#php-requirements)

```
$ sudo apt-get install php-dev php-pear zlib1g-dev zip unzip
$ pecl install grpc
$ sudo sh -c "echo 'extension=grpc.so' >> /etc/php/7.2/cli/php.ini" #depends on PHP version you are using. Add this line in the ini file

```

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/):

```
composer require lnpay/php-lnd-grpc

```

Basic Usage
-----------

[](#basic-usage)

Then can be used as such:

```
