Skip to content

Releases: aazsamir/libphpsky

v0.9.1

24 May 11:46

Choose a tag to compare

prevent creation of new TypeResolver instances if not needed

v0.9.0

24 May 11:23

Choose a tag to compare

Full Changelog: v0.8.0...v0.9.0

v0.8.0

19 Oct 18:12

Choose a tag to compare

v0.8.0 brings custom lexicons support!

There is an example of usage at
https://github.com/aazsamir/libphpsky/tree/main/examples/CustomLexicons

v0.7.0

12 Oct 18:49

Choose a tag to compare

Fixed

  • jetstream subscribtion for long running tasks
  • nullable arrays type resolving
  • AuthAwareClient decorator correctly uses decorated client in all cases

v0.6.0

08 Oct 17:23

Choose a tag to compare

Bumped atproto version, and fixed session storage.

v0.5.0

08 May 21:09

Choose a tag to compare

Version 0.5.0!

I'm not doing much work lately on it, I would consider it quite stable at this point. No breaking changes are planned, so bumping version with for a new atproto types.

v0.4.0

22 Jan 22:32

Choose a tag to compare

v0.4.0 Pre-release
Pre-release

Version v0.4.0!

This version changes a meta client.

Now, exposed methods return query or procedure type, instead of calling it directly.

v0.3.0

20 Jan 21:07

Choose a tag to compare

v0.3.0 Pre-release
Pre-release

Version v0.3.0!

This version brings subscriptions support over Jetstream.

How to use it?

<?php

declare(strict_types=1);

use Aazsamir\Libphpsky\Jetstream\WebSocketClientFactory;
use Aazsamir\Libphpsky\Jetstream\WssClient;
use Aazsamir\Libphpsky\Model\App\Bsky\Feed\Like\Like;

$factory = new WebSocketClientFactory();
$client = new WssClient($factory);

$eventsStream = $client->subscribe(
    wantedCollections: [
        Like::id(),
    ]
);

$max = 10000;

foreach ($eventsStream as $i => $event) {
    dump($event);

    if ($i > $max) {
        $client->stop();
    }
}

I'm also working on supporting subscriptions defined in ATProto lexicons, but it still isn't ready, and it was easier to integrate jetstream.

v0.2.0

19 Jan 16:26

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

Clients now only accept ATProtoClientInterface, for better dependency injection resolving.

v0.1.1

19 Jan 15:55

Choose a tag to compare

v0.1.1 Pre-release
Pre-release

Version v0.1.1

Published recipe package for integration with Laravel
https://github.com/aazsamir/libphpsky-laravel