Download the PHP package joeymckenzie/bluesky-php without Composer
On this page you can find all versions of the php package joeymckenzie/bluesky-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joeymckenzie/bluesky-php
More information about joeymckenzie/bluesky-php
Files in joeymckenzie/bluesky-php
Package bluesky-php
Short Description A PHP client for the Bluesky API.
License MIT
Informations about the package bluesky-php
Bluesky PHP
🚧 This package is still in early development, with no major releases at the moment. Use with precaution!
A Bluesky PHP client compatible with your HTTP client of choice. The goal of this project is to provide a simple, easy-to-use PHP HTTP client to interact with Bluesky's API, providing methods for calling both the authenticated and public endpoints.
Current API coverage status
ℹ️ Current progress: 26/165 endpoints covered
The Bluesky API surface is fairly large, and we'll be doing our best to cover as many of the endpoints as possible to provide a friendly client experience. In terms of currently covered resources:
App namespace
- [x] Actor
- [x] Feed
- [ ] Graph
- [ ] Notification
- [ ] Video
Chat namespace
- [ ] Actor
- [ ] Convo
- [ ] moderation
AT Proto
- [ ] Admin
- [ ] Identity
- [ ] Repo
- [ ] Server (only session create/refresh done as of now)
- [ ] Sync
Tools namespace
- [ ] Communication
- [ ] Moderation
- [ ] Server
- [ ] Setters
- [ ] Signature
- [ ] Team
Bluesky PHP in action
Getting started
To get started, install Bluesky from Packagist
Within your code, instantiate a new instance of the client:
Status
The API surface of Bluesky's API is fairly large encompassing some odd 160ish different endpoints. A complete list can be found within the TODO list, containing simple tracking of endpoints that have been implemented and those yet to be implemented.
Testing
To run tests
Bluesky PHP uses Pest for testing, where each endpoint contains a test that:
- Verifies the call as we expect to Bluesky
- Verifies the properties on the response
You'll find test data within the fixtures folder, container stubs with randomly generated fake data mimicking data received from the API at various endpoints.
All versions of bluesky-php with dependencies
php-http/discovery Version ^1.19.2
php-http/multipart-stream-builder Version ^1.3.0
psr/http-client Version ^1.0.3
psr/http-client-implementation Version *
psr/http-factory-implementation Version *
psr/http-message Version ^2.0.0