symfony / bluesky-notifier
Symfony Bluesky Notifier Bridge
Fund package maintenance!
fabpot
Tidelift
symfony.com/sponsor
Installs: 1 941
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 2
Type:symfony-notifier-bridge
Requires
- php: >=8.2
- psr/log: ^1|^2|^3
- symfony/clock: ^6.4|^7.0
- symfony/http-client: ^6.4|^7.0
- symfony/notifier: ^7.3
- symfony/string: ^6.4|^7.0
Requires (Dev)
- symfony/mime: ^6.4|^7.0
This package is auto-updated.
Last update: 2025-06-03 12:44:25 UTC
README
Provides Bluesky integration for Symfony Notifier.
DSN example
BLUESKY_DSN=bluesky://nyholm.bsky.social:p4ssw0rd@bsky.social
Adding Options to a Message
Use a BlueskyOptions
object to add options to the message:
use Symfony\Component\Notifier\Bridge\Bluesky\BlueskyOptions; use Symfony\Component\Notifier\Message\ChatMessage; $message = new ChatMessage('My message'); // Add website preview card to the message $options = (new BlueskyOptions()) ->attachCard('https://example.com', new File('image.jpg')) // You can also add media to the message //->attachMedia(new File($command->fileName), 'description') ; // Add the custom options to the Bluesky message and send the message $message->options($options); $chatter->send($message);