Download the PHP package lnpay/lnpay-php without Composer
On this page you can find all versions of the php package lnpay/lnpay-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lnpay/lnpay-php
More information about lnpay/lnpay-php
Files in lnpay/lnpay-php
Download lnpay/lnpay-php
More information about lnpay/lnpay-php
Files in lnpay/lnpay-php
Vendor lnpay
Package lnpay-php
Short Description LNPay PHP Client Library
License MIT
Homepage https://www.lnpay.co
Package lnpay-php
Short Description LNPay PHP Client Library
License MIT
Homepage https://www.lnpay.co
Please rate this library. Is it a good library?
Informations about the package lnpay-php
lnpay-php
The LNPay PHP library provides convenient access to the LNPay API from PHP applications.
The Api follows the following practices:
- Namespaced under LNPayClient
- Call $api->class->function() to access the API
- API throws exceptions instead of returning errors
- Options are passed as an array instead of multiple arguments wherever possible.
- All requests and responses will be communicated over JSON
Requirements
- PHP 7.3.0 or higher.
- Extensions - curl, json and mbstring
Installation via composer
Run in console below command to download package to your project:
Installation Manually
To manually install the library, you can download the latest release. Then, include the init.php file.
Documentation
The first alpha version of this SDK is mainly a wrapper for the LNPay API
Setup
Usage
Follow the instruction given SetUp section and initialize the LNPayClient.
Check Balance
Create a wallet
Generate Invoice
Pay Invoice
Transfers between wallets
Get Wallet Transactions
Get Transaction Info
Generate a disposable LNURL-withdraw link.
Generate a permanent LNURL-withdraw link.
See the example files.
All versions of lnpay-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3
guzzlehttp/guzzle Version ^7.3
ext-curl Version *
ext-intl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.3
ext-curl Version *
ext-intl Version *
ext-json Version *
ext-mbstring Version *
The package lnpay/lnpay-php contains the following files
Loading the files please wait ....