Laravel AT Protocol Client (alpha & unstable)
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update request client references to use renamed RequestClient classes

+29 -29
+8 -8
src/Client/AtprotoClient.php
··· 15 15 /** 16 16 * Repository operations (com.atproto.repo.*) 17 17 */ 18 - public Atproto\Repo $repo; 18 + public Atproto\RepoRequestClient $repo; 19 19 20 20 /** 21 21 * Server operations (com.atproto.server.*) 22 22 */ 23 - public Atproto\Server $server; 23 + public Atproto\ServerRequestClient $server; 24 24 25 25 /** 26 26 * Identity operations (com.atproto.identity.*) 27 27 */ 28 - public Atproto\Identity $identity; 28 + public Atproto\IdentityRequestClient $identity; 29 29 30 30 /** 31 31 * Sync operations (com.atproto.sync.*) 32 32 */ 33 - public Atproto\Sync $sync; 33 + public Atproto\SyncRequestClient $sync; 34 34 35 35 public function __construct(AtpClient $parent) 36 36 { 37 37 $this->atp = $parent; 38 - $this->repo = new Atproto\Repo($this); 39 - $this->server = new Atproto\Server($this); 40 - $this->identity = new Atproto\Identity($this); 41 - $this->sync = new Atproto\Sync($this); 38 + $this->repo = new Atproto\RepoRequestClient($this); 39 + $this->server = new Atproto\ServerRequestClient($this); 40 + $this->identity = new Atproto\IdentityRequestClient($this); 41 + $this->sync = new Atproto\SyncRequestClient($this); 42 42 } 43 43 }
+4 -4
src/Client/ChatClient.php
··· 15 15 /** 16 16 * Conversation operations (chat.bsky.convo.*) 17 17 */ 18 - public Chat\Convo $convo; 18 + public Chat\ConvoRequestClient $convo; 19 19 20 20 /** 21 21 * Actor operations (chat.bsky.actor.*) 22 22 */ 23 - public Chat\Actor $actor; 23 + public Chat\ActorRequestClient $actor; 24 24 25 25 public function __construct(AtpClient $parent) 26 26 { 27 27 $this->atp = $parent; 28 - $this->convo = new Chat\Convo($this); 29 - $this->actor = new Chat\Actor($this); 28 + $this->convo = new Chat\ConvoRequestClient($this); 29 + $this->actor = new Chat\ActorRequestClient($this); 30 30 } 31 31 }
+6 -6
src/Client/OzoneClient.php
··· 15 15 /** 16 16 * Moderation operations (tools.ozone.moderation.*) 17 17 */ 18 - public Ozone\Moderation $moderation; 18 + public Ozone\ModerationRequestClient $moderation; 19 19 20 20 /** 21 21 * Server operations (tools.ozone.server.*) 22 22 */ 23 - public Ozone\Server $server; 23 + public Ozone\ServerRequestClient $server; 24 24 25 25 /** 26 26 * Team operations (tools.ozone.team.*) 27 27 */ 28 - public Ozone\Team $team; 28 + public Ozone\TeamRequestClient $team; 29 29 30 30 public function __construct(AtpClient $parent) 31 31 { 32 32 $this->atp = $parent; 33 - $this->moderation = new Ozone\Moderation($this); 34 - $this->server = new Ozone\Server($this); 35 - $this->team = new Ozone\Team($this); 33 + $this->moderation = new Ozone\ModerationRequestClient($this); 34 + $this->server = new Ozone\ServerRequestClient($this); 35 + $this->team = new Ozone\TeamRequestClient($this); 36 36 } 37 37 }
+1 -1
src/Client/Requests/Atproto/IdentityRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Identity extends Request 8 + class IdentityRequestClient extends Request 9 9 { 10 10 /** 11 11 * Resolve handle to DID
+1 -1
src/Client/Requests/Atproto/RepoRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Repo extends Request 8 + class RepoRequestClient extends Request 9 9 { 10 10 /** 11 11 * Create a record
+1 -1
src/Client/Requests/Atproto/ServerRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Server extends Request 8 + class ServerRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get current session
+1 -1
src/Client/Requests/Atproto/SyncRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Sync extends Request 8 + class SyncRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get blob from sync
+1 -1
src/Client/Requests/Bsky/ActorRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Actor extends Request 8 + class ActorRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get actor profile
+1 -1
src/Client/Requests/Bsky/FeedRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Feed extends Request 8 + class FeedRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get timeline feed
+1 -1
src/Client/Requests/Chat/ActorRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Actor extends Request 8 + class ActorRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get actor metadata
+1 -1
src/Client/Requests/Chat/ConvoRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Convo extends Request 8 + class ConvoRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get conversation
+1 -1
src/Client/Requests/Ozone/ModerationRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Moderation extends Request 8 + class ModerationRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get moderation event
+1 -1
src/Client/Requests/Ozone/ServerRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Server extends Request 8 + class ServerRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get blob
+1 -1
src/Client/Requests/Ozone/TeamRequestClient.php
··· 5 5 use SocialDept\AtpClient\Client\Requests\Request; 6 6 use SocialDept\AtpClient\Http\Response; 7 7 8 - class Team extends Request 8 + class TeamRequestClient extends Request 9 9 { 10 10 /** 11 11 * Get team member