Skip to content

Commit af654c4

Browse files
committed
Copy lnaddress to vendor/bin folder
1 parent dbb9a66 commit af654c4

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ PHP Lightning Address is an easy way to get a [lightning address](https://lightn
77
composer require php-lightning/lightning-address
88
```
99

10+
Then you can use it directly from your vendor like:
11+
```bash
12+
vendor/bin/lnaddress 100_000
13+
```
1014

15+
----
1116

1217
## Table of contents
1318
- [Prerequisite](#prerequisite)

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
"PhpLightningTest\\": "tests/"
2424
}
2525
},
26+
"bin": [
27+
"lnaddress"
28+
],
2629
"scripts": {
2730
"ctal": [
2831
"@static-clear-cache",

lnaddress.php renamed to lnaddress

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env php
12
<?php
23

34
use Gacela\Framework\Bootstrap\GacelaConfig;

0 commit comments

Comments
 (0)