Something went wrong. Try again.
A barebones implementation of an atproto PDS in PHP and Slim Framework 4.
pds php atproto
Something went wrong. Try again.
464 B · 21 lines
PHP
at main
12345678910111213141516171819202122<?php
declare(strict_types=1);
namespace App\Domain\ActorStore;
/** * Factory that opens (or creates) the per-actor data store for a given DID. */interface ActorStoreFactory{ /** * Return the ActorStore for $did, creating it on first access. */ public function get(string $did): ActorStore;
/** * Tear down and discard the ActorStore for $did (e.g. on account deletion). */ public function destroy(string $did): void;}