Chemaclass on Nostr: "I originally made that script (single file) to allow myself to get a lightning ...
"I originally made that script (single file) to allow myself to get a lightning address easily with one single file, and then decided to publish in case there's someone else in the same situation.
I love your PR because it allows it to make a real PHP package, and brings much rigor, but it's not a single file anymore, and doesn't fit my initial need when I wrote that single script."
My idea is to create a vendor packagist library, which you can easily install using composer, and then use it in your own single file. This is pretty easy, and I can help you setting up this 🤙
I've published already a few libraries and it's easier than you might think
https://packagist.org/users/Chemaclass/ Published at
2023-03-25 12:05:38Event JSON
{
"id": "8ee0ae6194ae7f6906b3b7f07b01540782903ab6c8f063242f1be5400d642fa2",
"pubkey": "c5d4815c26e18e2c178133004a6ddba9a96a5f7af795a3ab606d11aa1055146a",
"created_at": 1679745938,
"kind": 1,
"tags": [
[
"e",
"33ba6f0d5cd88af1104c62bd26a81f92522f84a50d4b219b883036f5929da70f",
"",
"root"
],
[
"e",
"a6ad95dd6a0a93a3154cde154bbb48f1e590db99535c8294b8aa49da40713c7f",
"",
"reply"
],
[
"p",
"566516663d91d4fef824eaeccbf9c2631a8d8a2efee8048ca5ee6095e6e5c843"
]
],
"content": "\"I originally made that script (single file) to allow myself to get a lightning address easily with one single file, and then decided to publish in case there's someone else in the same situation.\n\n\nI love your PR because it allows it to make a real PHP package, and brings much rigor, but it's not a single file anymore, and doesn't fit my initial need when I wrote that single script.\"\n\nMy idea is to create a vendor packagist library, which you can easily install using composer, and then use it in your own single file. This is pretty easy, and I can help you setting up this 🤙 \n\nI've published already a few libraries and it's easier than you might think https://packagist.org/users/Chemaclass/ ",
"sig": "1cafcde0477ddeabd3a5696f23ad716a445bf3ffc926d1176eac1557995bcc731b995e55df4ae12fd7924b031c9d4d63b59af942e631aed4e4985065483fba14"
}