Nostr-PHP's avatar
Nostr-PHP
_@nostr-php.dev
npub1phpd...ha0j
Nostr-PHP helper library - https://nostr-php.dev
Nostr-PHP's avatar
Nostr-PHP 2 weeks ago
Nostr-PHP's avatar
Nostr-PHP 6 months ago
Metadata updated of this profile - new profile picture - updated NIP-05 - updated relay list ✅
Nostr-PHP's avatar
Nostr-PHP 9 months ago
Nostr-PHP's avatar
Nostr-PHP 1 year ago
Nostr-PHP release 1.5.1: New / updated features: * Added NIP-42 support for client to relay authentication * Generic tags methods on a filter object for request messages to relays Also a new guide page 'Using filters and tags on requesting events' is added: This page explains which filter attributes you can use when you request events from relays. Also a list with examples is being worked out with full code snippets. Make sure you check the other provided examples too in the library: #PHP #nostrDev
Nostr-PHP's avatar
Nostr-PHP 1 year ago
As #PHP developers we're used to hear that PHP sucks. Or it's just dead. But we now better. We know it doesn't suck anymore. But do we know why? When talking to other developers, it is something handy to send them some resources to tell them why 🤓 What are your favorite resources? Why PHP? A 10-minute explainer comparing PHP 2012 vs 2023: and a funny reaction on this: Why you should use PHP PHP from 2014 to 2024
Nostr-PHP's avatar
Nostr-PHP 1 year ago
Release 1.4.0 The library now provides separate relay response classes according to NIP-01. EVENT - sends events requested by the client OK - indicate an acceptance or denial of an EVENT message EOSE - end of stored events CLOSED - subscription is ended on the server side NOTICE - used to send human-readable messages (like errors) to clients This replaces the CommandResult class which had the response of a relay. Thanks @npub1ap9f...chga for working out the initial codebase
Nostr-PHP's avatar
Nostr-PHP 1 year ago
Nostr-PHP is a helper library written in PHP. As a PHP developer you can add the library as a package with Composer in your current project. The library is free and opensource. The repository: Documentation: If you're looking for any help, reach out by creating an issue or join the chat here: #PHP