Skip to content

php-lightning/lnaddress

Repository files navigation

PHP Lightning Address

PHP Lightning Address is an easy way to get a lightning address in PHP.

GitHub Build Status Scrutinizer Code Quality Scrutinizer Code Coverage Psalm Type-coverage Status MIT Software License

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.

https://github.com/php-lightning/demo-lnaddress

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.