Skip to content

Commit

Permalink
Merge pull request #10 from potibm/potibm-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
potibm committed Oct 20, 2023
2 parents 395932d + c1f7efe commit fd146cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
# *ph*luesky

[![Latest Version](https://img.shields.io/github/release/potibm/phluesky.svg?style=flat-square)](https://github.com/potibm/phluesky/releases)
[![Latest Version on Packagist](https://img.shields.io/packagist/v/potibm/phluesky?style=flat-square)](https://packagist.org/packages/potibm/phluesky)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Coverage Status](https://img.shields.io/codecov/c/github/potibm/phluesky?style=flat-square)](https://app.codecov.io/gh/potibm/phluesky)

An small PHP library for Bluesky social using the AT Protocol.

## Usage

```
$api = new BlueskyApi('nick.bsky.social', 'abcd-efgh-ijkl-mnop');
$postService = new \potibm\Bluesky\BlueskyPostService($api);
$post = \potibm\Bluesky\Feed\Post::create('✨ example mentioning @atproto.com to share the URL 👨‍❤️‍👨 https://en.wikipedia.org/wiki/CBOR.');
$postService = new \potibm\Bluesky\BlueskyPostService($api);
$post = $postService->addFacetsFromMentionsAndLinks($post);
$response = $api->createRecord($post);
Expand Down

0 comments on commit fd146cb

Please sign in to comment.