ml / bluesky-notifier
Symfony Bluesky Notifier Bridge
Package info
github.com/monolight/bluesky-notifier
Type:symfony-notifier-bridge
pkg:composer/ml/bluesky-notifier
v8.1.0
2026-05-28 22:52 UTC
Requires
- php: >=8.4.1
- psr/log: ^1|^2|^3
- symfony/clock: ^7.4|^8.0
- symfony/http-client: ^7.4|^8.0
- symfony/notifier: ^7.4|^8.0
- symfony/string: ^7.4|^8.0
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^13.0
- symfony/event-dispatcher-contracts: ^3.0
- symfony/mime: ^7.4|^8.0
- symfony/phpunit-bridge: ^7.4|^8.0
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);