{"id":20687040,"url":"https://github.com/socialweb-php/atproto","last_synced_at":"2025-04-22T15:07:46.778Z","repository":{"id":159058372,"uuid":"634410964","full_name":"socialweb-php/atproto","owner":"socialweb-php","description":"A PHP library for integrating with and communicating over the AT Protocol","archived":false,"fork":false,"pushed_at":"2025-02-01T02:36:49.000Z","size":93,"stargazers_count":42,"open_issues_count":6,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T09:37:40.443Z","etag":null,"topics":["atp","atproto","atprotocol","bluesky"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/socialweb-php.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ramsey"}},"created_at":"2023-04-30T02:58:36.000Z","updated_at":"2025-03-08T12:45:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"735d714d-fc9c-43b7-874b-7f0c58063e7e","html_url":"https://github.com/socialweb-php/atproto","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialweb-php%2Fatproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialweb-php%2Fatproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialweb-php%2Fatproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialweb-php%2Fatproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socialweb-php","download_url":"https://codeload.github.com/socialweb-php/atproto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250264910,"owners_count":21402003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atp","atproto","atprotocol","bluesky"],"created_at":"2024-11-16T22:55:35.383Z","updated_at":"2025-04-22T15:07:46.755Z","avatar_url":"https://github.com/socialweb-php.png","language":"PHP","funding_links":["https://github.com/sponsors/ramsey"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003esocialweb/atproto\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cstrong\u003eA PHP library for integrating with and communicating over the AT Protocol\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/socialweb-php/atproto\"\u003e\u003cimg src=\"https://img.shields.io/badge/source-socialweb/atproto-blue.svg?style=flat-square\" alt=\"Source Code\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/socialweb/atproto\"\u003e\u003cimg src=\"https://img.shields.io/packagist/v/socialweb/atproto.svg?style=flat-square\u0026label=release\" alt=\"Download Package\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://php.net\"\u003e\u003cimg src=\"https://img.shields.io/packagist/php-v/socialweb/atproto.svg?style=flat-square\u0026colorB=%238892BF\" alt=\"PHP Programming Language\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/socialweb-php/atproto/blob/main/NOTICE\"\u003e\u003cimg src=\"https://img.shields.io/packagist/l/socialweb/atproto.svg?style=flat-square\u0026colorB=darkcyan\" alt=\"Read License\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/socialweb-php/atproto/actions/workflows/continuous-integration.yml\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/socialweb-php/atproto/continuous-integration.yml?branch=main\u0026style=flat-square\u0026logo=github\" alt=\"Build Status\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/socialweb-php/atproto\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/gh/socialweb-php/atproto?label=codecov\u0026logo=codecov\u0026style=flat-square\" alt=\"Codecov Code Coverage\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://shepherd.dev/github/socialweb-php/atproto\"\u003e\u003cimg src=\"https://img.shields.io/endpoint?style=flat-square\u0026url=https%3A%2F%2Fshepherd.dev%2Fgithub%2Fsocialweb-php%2Fatproto%2Fcoverage\" alt=\"Psalm Type Coverage\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## About\n\n\u003e 🚨 **DANGER, WILL ROBINSON!** \\\n\u003e This library is extremely, very rough. I'd love to get your input and help,\n\u003e though, which is why I'm putting it out very, very, very early. If you're\n\u003e Interested in helping develop this, please feel free to open an issue, open a\n\u003e pull request, or contact me with any questions.\n\nThis project adheres to a [code of conduct](CODE_OF_CONDUCT.md).\nBy participating in this project and its community, you are expected to\nuphold this code.\n\n## Installation\n\nInstall this package as a dependency using [Composer](https://getcomposer.org).\n\n``` bash\ncomposer require socialweb/atproto\n```\n\n## Usage\n\n```php\n// This is very rough and in no way represents the final recommended\n// usage of this library.\nuse SocialWeb\\Atproto\\Api\\Client;\n\n$client = new Client('https://bsky.social');\n$client-\u003elogin('YOUR_EMAIL_ADDRESS', 'YOUR_PASSWORD');\n\n$homeFeed = $client-\u003egetTimeline()-\u003efeed;\n\nforeach ($homeFeed as $item) {\n    echo \"{$item-\u003epost-\u003eauthor-\u003edisplayName} (@{$item-\u003epost-\u003eauthor-\u003ehandle}) says:\\n\\n\";\n    echo \"{$item-\u003epost-\u003erecord-\u003etext}\\n\\n\";\n\n    if (isset($item-\u003epost-\u003erecord-\u003ereply)) {\n        echo \"in reply to {$item-\u003epost-\u003erecord-\u003ereply-\u003eparent-\u003euri}\\n\\n\";\n    }\n\n    echo str_repeat('-', 72);\n    echo \"\\n\\n\";\n}\n```\n\n## Contributing\n\nContributions are welcome! To contribute, please familiarize yourself with\n[CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Coordinated Disclosure\n\nKeeping user information safe and secure is a top priority, and we welcome the\ncontribution of external security researchers. If you believe you've found a\nsecurity issue in software that is maintained in this repository, please read\n[SECURITY.md](SECURITY.md) for instructions on submitting a vulnerability report.\n\n## Copyright and License\n\nsocialweb/atproto is copyright © [Ben Ramsey](https://benramsey.com)\nand licensed for use under the terms of the\nGNU Lesser General Public License (LGPL-3.0-or-later) as published by the Free\nSoftware Foundation. Please see [COPYING.LESSER](COPYING.LESSER),\n[COPYING](COPYING), and [NOTICE](NOTICE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialweb-php%2Fatproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocialweb-php%2Fatproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialweb-php%2Fatproto/lists"}