PHPackages                             socialweb/atproto - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. socialweb/atproto

ActiveLibrary[API Development](/categories/api)

socialweb/atproto
=================

A PHP library for integrating with and communicating over the AT Protocol

0.1.0-alpha.1(3y ago)43273[1 issues](https://github.com/socialweb-php/atproto/issues)[6 PRs](https://github.com/socialweb-php/atproto/pulls)LGPL-3.0-or-laterPHPPHP ^8.2CI passing

Since Apr 30Pushed 1y ago3 watchersCompare

[ Source](https://github.com/socialweb-php/atproto)[ Packagist](https://packagist.org/packages/socialweb/atproto)[ RSS](/packages/socialweb-atproto/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (7)Used By (0)

socialweb/atproto
=================

[](#socialwebatproto)

 **A PHP library for integrating with and communicating over the AT Protocol**

 [![Source Code](https://camo.githubusercontent.com/44e32017272891962414f9b95bc69d569c25ca0fef504beb977d64eb7fafc524/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d736f6369616c7765622f617470726f746f2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/socialweb-php/atproto) [![Download Package](https://camo.githubusercontent.com/d85fd3788b74d8db7b96fbc786066f2769b955710f03bc2fba83187945b5094e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6369616c7765622f617470726f746f2e7376673f7374796c653d666c61742d737175617265266c6162656c3d72656c65617365)](https://packagist.org/packages/socialweb/atproto) [![PHP Programming Language](https://camo.githubusercontent.com/f797ae8afb93ae196b9ee02157e545a5c51876e1a4aeac8d1ba71295ce478742/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736f6369616c7765622f617470726f746f2e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d253233383839324246)](https://php.net) [![Read License](https://camo.githubusercontent.com/150e7ac83858a338542d90297d4875a47b6efdaa08c82465114d13b53ad64008/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6369616c7765622f617470726f746f2e7376673f7374796c653d666c61742d73717561726526636f6c6f72423d6461726b6379616e)](https://github.com/socialweb-php/atproto/blob/main/NOTICE) [![Build Status](https://camo.githubusercontent.com/b0843a84558adf7e1a4fe658bc734a5f0242f26d94997fa4715db91c945e37df/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736f6369616c7765622d7068702f617470726f746f2f636f6e74696e756f75732d696e746567726174696f6e2e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6f676f3d676974687562)](https://github.com/socialweb-php/atproto/actions/workflows/continuous-integration.yml) [![Codecov Code Coverage](https://camo.githubusercontent.com/0785756e0ed265b9af35494e0f3c0d119ac85b852f4f277059fd3553a596a063/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f67682f736f6369616c7765622d7068702f617470726f746f3f6c6162656c3d636f6465636f76266c6f676f3d636f6465636f76267374796c653d666c61742d737175617265)](https://codecov.io/gh/socialweb-php/atproto) [![Psalm Type Coverage](https://camo.githubusercontent.com/bbd436b889c96c3e49a6af83ab05ac1cb679018324cfd570d6ad1b58c1673d12/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742d7371756172652675726c3d687474707325334125324625324673686570686572642e646576253246676974687562253246736f6369616c7765622d706870253246617470726f746f253246636f766572616765)](https://shepherd.dev/github/socialweb-php/atproto)

About
-----

[](#about)

> 🚨 **DANGER, WILL ROBINSON!**
> This library is extremely, very rough. I'd love to get your input and help, though, which is why I'm putting it out very, very, very early. If you're Interested in helping develop this, please feel free to open an issue, open a pull request, or contact me with any questions.

This project adheres to a [code of conduct](CODE_OF_CONDUCT.md). By participating in this project and its community, you are expected to uphold this code.

Installation
------------

[](#installation)

Install this package as a dependency using [Composer](https://getcomposer.org).

```
composer require socialweb/atproto
```

Usage
-----

[](#usage)

```
// This is very rough and in no way represents the final recommended
// usage of this library.
use SocialWeb\Atproto\Api\Client;

$client = new Client('https://bsky.social');
$client->login('YOUR_EMAIL_ADDRESS', 'YOUR_PASSWORD');

$homeFeed = $client->getTimeline()->feed;

foreach ($homeFeed as $item) {
    echo "{$item->post->author->displayName} (@{$item->post->author->handle}) says:\n\n";
    echo "{$item->post->record->text}\n\n";

    if (isset($item->post->record->reply)) {
        echo "in reply to {$item->post->record->reply->parent->uri}\n\n";
    }

    echo str_repeat('-', 72);
    echo "\n\n";
}
```

Contributing
------------

[](#contributing)

Contributions are welcome! To contribute, please familiarize yourself with [CONTRIBUTING.md](CONTRIBUTING.md).

Coordinated Disclosure
----------------------

[](#coordinated-disclosure)

Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read [SECURITY.md](SECURITY.md) for instructions on submitting a vulnerability report.

Copyright and License
---------------------

[](#copyright-and-license)

socialweb/atproto is copyright © [Ben Ramsey](https://benramsey.com)and licensed for use under the terms of the GNU Lesser General Public License (LGPL-3.0-or-later) as published by the Free Software Foundation. Please see [COPYING.LESSER](COPYING.LESSER), [COPYING](COPYING), and [NOTICE](NOTICE) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1114d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f514481fa9cfdfd5dbcaccb3e5b480f18ea05ebf331cddf9b1c5a2a96a78fef5?d=identicon)[ramsey](/maintainers/ramsey)

---

Top Contributors

[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (37 commits)")[![ramsey](https://avatars.githubusercontent.com/u/42941?v=4)](https://github.com/ramsey "ramsey (16 commits)")

---

Tags

atpatprotoatprotocolblueskyblueskyatprotoat protocolatp

### Embed Badge

![Health badge](/badges/socialweb-atproto/health.svg)

```
[![Health](https://phpackages.com/badges/socialweb-atproto/health.svg)](https://phpackages.com/packages/socialweb-atproto)
```

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[swisnl/json-api-client

A PHP package for mapping remote JSON:API resources to Eloquent like models and collections.

211473.2k12](/packages/swisnl-json-api-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[potibm/phluesky

An small PHP library for posting messages to the bluesky social network using the AT Protocol.

3721.3k2](/packages/potibm-phluesky)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
