PHPackages                             suyati/mongologue - 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. suyati/mongologue

ActiveLibrary

suyati/mongologue
=================

A Light Weight Micro Blogger Clone using MongoDB

3270PHP

Since Feb 13Pushed 11y ago16 watchersCompare

[ Source](https://github.com/suyati/mongologue)[ Packagist](https://packagist.org/packages/suyati/mongologue)[ RSS](/packages/suyati-mongologue/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a6f5d479182204b8256ab31e9cc40c663192fbf893ec352f39a53c2395e67f77/68747470733a2f2f6170692e7472617669732d63692e6f72672f7375796174692f6d6f6e676f6c6f6775652e737667)](https://travis-ci.org/suyati/mongologue)

\#Mongologue

A PHP Library to help build Microblogging Servers using Mongo DB

Supports:

- Multi Media Posts
- Groups
- Follow, Unfollow and Block Actions for Users and Groups
- Commenting on Posts
- Liking Posts

\##Installation

*Mongologue* is available as a [Composer Package](https://packagist.org/packages/suyati/mongologue).

Just add the following to your composer.json file:

```
require : {"suyati/mongologue": "dev-develop"}
```

\##Using Mongologue

\###Initialize

```
$factory = new \Mongologue\Factory();
$mongologue = $factory->createMongologue(new \MongoClient("mongodb://127.0.0.1"), "MyTestDB");
```

\###Add Users

```
$user = array(
  "id"=>"1238899884791",
  "handle"=>"jdoe_1",
  "email"=>"jdoe1@x.com",
  "firstName"=>"John_1",
  "lastName"=>"Doe"
);

$mongologue->user('register', new \Mongologue\Models\User($user));
```

\###Create Posts

```
$post = array(
  "userId"=>$userId,
  "datetime"=>time(),
  "content"=>"user one",
  "category" => 1,
  "filesToBeAdded" => array(
      __DIR__."/../resources/sherlock.jpg"=>array(
          "type"=>"jpeg",
          "size"=>"100"
      )
  )
);

$mongologue->post('create', new \Mongologue\Models\Post($post));
```

\###Groups

```
$group1 = array(
  "name" => "Cool Group 1"
);
$groupId = $mongologue->group('register', new \Mongologue\Models\Group($group1));
$mongologue->group('join', $groupId, $userId);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

---

Top Contributors

[![kpnunni](https://avatars.githubusercontent.com/u/387662?v=4)](https://github.com/kpnunni "kpnunni (66 commits)")

### Embed Badge

![Health badge](/badges/suyati-mongologue/health.svg)

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

PHPackages © 2026

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