A PHP library for integrating with and communicating over the AT Protocol
A PHP library for integrating with and communicating over the AT Protocol
🚨 DANGER, WILL ROBINSON!
This library is extremely, very rough. I'd love to get your input and help, though, which is why I'm putting it out very, very, very early. If you're Interested in helping develop this, please feel free to open an issue, open a pull request, or contact me with any questions.
This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.
Install this package as a dependency using Composer.
composer require socialweb/atproto
// This is very rough and in no way represents the final recommended
// usage of this library.
use SocialWeb\Atproto\Api\Client;
$client = new Client('https://bsky.social');
$client->login('YOUR_EMAIL_ADDRESS', 'YOUR_PASSWORD');
$homeFeed = $client->getTimeline()->feed;
foreach ($homeFeed as $item) {
echo "{$item->post->author->displayName} (@{$item->post->author->handle}) says:\n\n";
echo "{$item->post->record->text}\n\n";
if (isset($item->post->record->reply)) {
echo "in reply to {$item->post->record->reply->parent->uri}\n\n";
}
echo str_repeat('-', 72);
echo "\n\n";
}
Contributions are welcome! To contribute, please familiarize yourself with CONTRIBUTING.md.
Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY.md for instructions on submitting a vulnerability report.
socialweb/atproto is copyright © Ben Ramsey and licensed for use under the terms of the GNU Lesser General Public License (LGPL-3.0-or-later) as published by the Free Software Foundation. Please see COPYING.LESSER, COPYING, and NOTICE for more information.
BlueSky SDK is a comprehensive PHP library designed to seamlessly integrate with the BlueSky social network.
Simple helper for interacting with the Bluesky API/AT protocol
An small PHP library for Bluesky social using the AT Protocol.
Libphpsky is a PHP library designed to interact with Bluesky decentralized social media protocol - AT protocol.
Converting a BlueSky Starter Pack to User List
Helper library to post to Bluesky Social
Your Brand Here!
50K+ engaged viewers every month
Limited spots available!
📧 Contact us via email🦋 Contact us on Bluesky