php-lightning / lnaddress
0.7.0
2023-06-19 16:23 UTC
Requires
- php: >=8.0.2
- gacela-project/gacela: ^1.4
- gacela-project/router: ^0.12
- symfony/http-client: ^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.16
- gacela-project/phpstan-extension: ^0.3
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- psalm/plugin-phpunit: ^0.18
- symfony/var-dumper: ^5.4
- vimeo/psalm: ^5.11
README
PHP Lightning Address is an easy way to get a lightning address in PHP.
Usage / Development
Set up your custom config:
cp lightning-config.dist.php lightning-config.php
# or just simply the nostr.json to define the backends/user-settings
cp nostr.dist.json nostr.json
Run a local PHP server listening public/index.php
composer serve
Demo template
We prepared a demo template, so you can use this project as a dependency. The benefits from this approach is that you can easily update your project with composer update
whenever there are new features or improvements on this lnaddress
repository.
Wiki
Check the wiki for more details: https://github.com/php-lightning/lnaddress/wiki
Contributions
Feel free to open issues & PR if you want to contribute to this project.