Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightningsale/lnd-client
A LND Client for PHP
https://github.com/lightningsale/lnd-client
grpc-api lightning-network lnd php rest-api
Last synced: about 1 month ago
JSON representation
A LND Client for PHP
- Host: GitHub
- URL: https://github.com/lightningsale/lnd-client
- Owner: lightningsale
- Created: 2017-12-22T15:13:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-13T14:16:21.000Z (almost 5 years ago)
- Last Synced: 2024-10-01T18:09:39.705Z (about 2 months ago)
- Topics: grpc-api, lightning-network, lnd, php, rest-api
- Language: PHP
- Homepage:
- Size: 256 KB
- Stars: 4
- Watchers: 2
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## A LND Client for PHP
### TODO:
- Create a gRPC Client
- An Async Rest Client using Proxy Objects (http://ocramius.github.io/ProxyManager/)
- An Async gRPC client using Proxy Objects? (Or by default?)### How to use:
`composer require lightningsale/lnd-client`
```php
getInfo());
```### Example Symfony configuration:
```yaml
# services.yml
LightningSale\LndClient\Client: '@LightningSale\LndClient\RestClient'
LightningSale\LndClient\RestClient:
class: LightningSale\LndClient\RestClient
factory: ['LightningSale\LndClient\ClientFactory','createRestClient']
arguments: ['127.0.0.1', '8080', '/root/.lnd/tls.cert', '/root/.lnd/admin.macaroon', '@logger']
```