Laravel AT Protocol Client (alpha & unstable)
3
fork

Configure Feed

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

Remove redundant repo argument from Record client write operations

-8
-2
src/Client/Records/FollowRecordClient.php
··· 31 31 ]; 32 32 33 33 return $this->atp->atproto->repo->createRecord( 34 - repo: $this->atp->client->session()->did(), 35 34 collection: BskyGraph::Follow, 36 35 record: $record 37 36 ); ··· 47 46 public function delete(string $rkey): DeleteRecordResponse 48 47 { 49 48 return $this->atp->atproto->repo->deleteRecord( 50 - repo: $this->atp->client->session()->did(), 51 49 collection: BskyGraph::Follow, 52 50 rkey: $rkey 53 51 );
-2
src/Client/Records/LikeRecordClient.php
··· 32 32 ]; 33 33 34 34 return $this->atp->atproto->repo->createRecord( 35 - repo: $this->atp->client->session()->did(), 36 35 collection: BskyFeed::Like, 37 36 record: $record 38 37 ); ··· 48 47 public function delete(string $rkey): DeleteRecordResponse 49 48 { 50 49 return $this->atp->atproto->repo->deleteRecord( 51 - repo: $this->atp->client->session()->did(), 52 50 collection: BskyFeed::Like, 53 51 rkey: $rkey 54 52 );
-3
src/Client/Records/PostRecordClient.php
··· 77 77 } 78 78 79 79 return $this->atp->atproto->repo->createRecord( 80 - repo: $this->atp->client->session()->did(), 81 80 collection: BskyFeed::Post, 82 81 record: $record 83 82 ); ··· 98 97 } 99 98 100 99 return $this->atp->atproto->repo->putRecord( 101 - repo: $this->atp->client->session()->did(), 102 100 collection: BskyFeed::Post, 103 101 rkey: $rkey, 104 102 record: $record ··· 115 113 public function delete(string $rkey): DeleteRecordResponse 116 114 { 117 115 return $this->atp->atproto->repo->deleteRecord( 118 - repo: $this->atp->client->session()->did(), 119 116 collection: BskyFeed::Post, 120 117 rkey: $rkey 121 118 );
-1
src/Client/Records/ProfileRecordClient.php
··· 26 26 } 27 27 28 28 return $this->atp->atproto->repo->putRecord( 29 - repo: $this->atp->client->session()->did(), 30 29 collection: BskyActor::Profile, 31 30 rkey: 'self', // Profile records always use 'self' as rkey 32 31 record: $profile