====== Lemmy-PHP ====== A PHP class for [[https://github.com/LemmyNet/lemmy|Lemmy]]. ===== Getting Started ===== ==== Create a new post ==== login("YOUR_USERNAME", "YOUR_PASSWORD"); $post['name'] = "Test Post"; $post['url'] = "https://glasgow.social"; $post['body'] = "A comment can go here"; $post['community_id'] = "5"; $post['auth'] = $auth_token; $lemmy->createPost($post); ?>