https://github.com/symfony/bluesky-notifier
Symfony Bluesky Notifier Bridge
https://github.com/symfony/bluesky-notifier
bluesky component notifier php symfony symfony-component
Last synced: about 2 months ago
JSON representation
Symfony Bluesky Notifier Bridge
- Host: GitHub
- URL: https://github.com/symfony/bluesky-notifier
- Owner: symfony
- License: mit
- Created: 2023-12-15T16:36:59.000Z (over 2 years ago)
- Default Branch: 7.3
- Last Pushed: 2025-12-19T08:37:28.000Z (3 months ago)
- Last Synced: 2025-12-26T23:43:52.782Z (3 months ago)
- Topics: bluesky, component, notifier, php, symfony, symfony-component
- Language: PHP
- Homepage: https://symfony.com/notifier
- Size: 30.3 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Bluesky Notifier
================
Provides [Bluesky](https://bsky.app/) 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:
```php
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);
```
Resources
---------
* [Contributing](https://symfony.com/doc/current/contributing/index.html)
* [Report issues](https://github.com/symfony/symfony/issues) and
[send Pull Requests](https://github.com/symfony/symfony/pulls)
in the [main Symfony repository](https://github.com/symfony/symfony)