{"id":19147275,"url":"https://github.com/ndeet/php-ln-lnd-grpc","last_synced_at":"2025-09-02T17:13:32.038Z","repository":{"id":57024419,"uuid":"125577376","full_name":"ndeet/php-ln-lnd-grpc","owner":"ndeet","description":"Lightning Network LND generated gRPC classes.","archived":false,"fork":false,"pushed_at":"2021-10-15T07:56:12.000Z","size":186,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T02:04:52.781Z","etag":null,"topics":["bitcoin","grpc","lightning-network","lnd","php-library"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ndeet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-16T22:46:18.000Z","updated_at":"2021-10-15T07:56:15.000Z","dependencies_parsed_at":"2022-08-23T14:21:02.173Z","dependency_job_id":null,"html_url":"https://github.com/ndeet/php-ln-lnd-grpc","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndeet%2Fphp-ln-lnd-grpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndeet%2Fphp-ln-lnd-grpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndeet%2Fphp-ln-lnd-grpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndeet%2Fphp-ln-lnd-grpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndeet","download_url":"https://codeload.github.com/ndeet/php-ln-lnd-grpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252798855,"owners_count":21805887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","grpc","lightning-network","lnd","php-library"],"created_at":"2024-11-09T07:49:25.796Z","updated_at":"2025-05-07T02:04:58.354Z","avatar_url":"https://github.com/ndeet.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nPHP lnd gRPC client\n===================\n\n**This package has been abandoned, please use the better maintened one on lnpay here https://packagist.org/packages/lnpay/php-lnd-grpc.**\n\n\nThis 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\nfrom [rpc.proto](https://github.com/lightningnetwork/lnd/blob/v0.5-beta/lnrpc/rpc.proto).\n\n\nRequirements\n============\n\nTo use this library you need to\n\n* gRPC extension\n* PHP \u003e= 7.0\n\nInstall gRPC extension if not installed\n```\n# pecl install grpc\n```\n\nAdd grpc.so to php.ini. For PHP 7.0 in Ubuntu it will be\n```\n# echo 'extension=grpc.so' \u003e\u003e /etc/php/7.0/cli/php.ini\n```\n\nAdding to your project\n======================\n\n#### Via composer\n```\n$ cd /project/\n$ composer require ndeet/ln-lnd-grpc\n```\n\n#### Cloning from Git\n```\n$ cd /project/\n$ git clone https://github.com/ndeet/php-ln-lnd-grpc.git lndrpc\n$ cd ./lndrpc/\n$ composer install\n```\n\n\n\nExample\n=======\n\nExample of usage you can find in [example/index.php](https://github.com/ndeet/php-ln-lnd-grpc/blob/master/example/index.php).\nNote: This is currently untested with the latest lnd-0.5-beta release as time of committing but wanted to push the updated classes out.\n\nGeneration of PHP classes\n=========================\nAs 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).\n\nThe following command was used to generate the classes:\n```\nprotoc -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\n```\n\nCredits\n=======\nThis 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndeet%2Fphp-ln-lnd-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndeet%2Fphp-ln-lnd-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndeet%2Fphp-ln-lnd-grpc/lists"}