Download the PHP package decent-newsroom/nostr-client-bundle without Composer
On this page you can find all versions of the php package decent-newsroom/nostr-client-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download decent-newsroom/nostr-client-bundle
More information about decent-newsroom/nostr-client-bundle
Files in decent-newsroom/nostr-client-bundle
Package nostr-client-bundle
Short Description Reusable Symfony bundle wrapping innis/nostr-client (AMPHP-based async Nostr relay client) for DI-friendly relay connections, subscriptions and publishing
License MIT
Informations about the package nostr-client-bundle
Nostr Client Bundle
A Symfony bundle for innis/nostr-client,
an AMPHP-based Nostr relay client. It provides DI-managed client, health-checker,
factory, and default connection-config services.
Requirements
- PHP 8.3 or later
- Symfony FrameworkBundle 7.4 or later
Installation
Register the bundle if your application does not do so automatically:
Configuration
Usage
When connect() receives no ConnectionConfig, the configured default is
used. Pass an explicit config to override it for a particular connection:
Services
NostrClientInterface: configured relay client.RelayHealthCheckerInterface: standalone relay health checks.ConnectionConfig: default configuration derived fromnostr_client.NostrClientFactoryInterface: factory for raw clients and health checkers.
This bundle wires the client into Symfony. It does not implement Nostr
protocol behavior; refer to innis/nostr-client for subscriptions, publishing,
and relay lifecycle details.
Changelog
See CHANGELOG.md for release notes.
All versions of nostr-client-bundle with dependencies
innis/nostr-client Version ^0.1.7
innis/nostr-core Version ^0.3.17
psr/log Version ^3.0
symfony/framework-bundle Version ^7.4