Download the PHP package revolution/laravel-bluesky without Composer
On this page you can find all versions of the php package revolution/laravel-bluesky. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download revolution/laravel-bluesky
More information about revolution/laravel-bluesky
Files in revolution/laravel-bluesky
Package laravel-bluesky
Short Description Bluesky(AT Protocol) for Laravel
License MIT
Informations about the package laravel-bluesky
Bluesky(AT Protocol) for Laravel
Requirements
- PHP >= 8.2
- Laravel >= 11.x
Version
ver | PHP | Laravel |
---|---|---|
1.x | ^8.2 | ^11.x |
- The auto-generated code from lexicon may contain breaking changes.
Installation
Basically, everything can be set in the .env
file, so publishing the config file is optional.
Uninstall
Quick start
Search posts (no auth required, no need for your own account)
There are many public APIs that do not require authentication if you just want to retrieve data.
Note Due to temporary API restrictions, searchPosts() currently requires authentication. Please use the authenticated example below instead.
Authenticated usage (currently required due to temporary API restriction)
Get someone's posts (no auth required)
You can get your own posts by specifying your did or handle as the actor. No authentication is required to get and save your own posts.
Create a post (requires auth)
There are two authentication methods for Bluesky: "App password" and "OAuth". Here we will use "App password". Obtain the App password from Bluesky and set it in .env.
This is easy if you're just sending simple text, but in the real world you'll need to use TextBuilder
to make links and tags work.
Following message will be posted:
To authenticate with OAuth, read the Socialite documentation.
Usage
- Basic Client
- Laravel Notifications
- Socialite
- FeedGenerator
- Testing
Advanced
- Identity
- Verify
- Route
- Labeler
Sample project
Contracts
https://github.com/invokable/atproto-lexicon-contracts
LICENCE
MIT
All versions of laravel-bluesky with dependencies
illuminate/support Version ^11.30||^12.0
laravel/socialite Version ^5.16
guzzlehttp/guzzle Version ^7.8
firebase/php-jwt Version ^6.10
phpseclib/phpseclib Version ^3.0
revolution/atproto-lexicon-contracts Version 1.0.77
yocto/yoclib-multibase Version ^1.2