PHPackages                             fnklabs/monger - 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. [Database &amp; ORM](/categories/database)
4. /
5. fnklabs/monger

ActiveLibrary[Database &amp; ORM](/categories/database)

fnklabs/monger
==============

Monger php client

1.0.0(11y ago)017Apache License 2PHPPHP &gt;=5.4

Since Jan 7Pushed 11y ago1 watchersCompare

[ Source](https://github.com/fnklabs/monger-php-client)[ Packagist](https://packagist.org/packages/fnklabs/monger)[ RSS](/packages/fnklabs-monger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Monger php client
=================

[](#monger-php-client)

Read more about project at [Monger](https://monger.fnklabs.com)

\##Create Client instance

```
$logger       = new Logger("test");
$curlAdapter  = new CurlAdapter($logger),
$mongerClient = new MongerClient(
                                "https://monger.fnklabs.com",
                                "USER_TOKEN",
                                "USER_ACCESS_TOKEN_WITH_WRITE_SCOPE",
                                "YOUR_APPLICATION_NAME",
                                "YOUR_APPLICATION_VERSION",
                                $curlAdapter,
                                $logger
               );
```

\##Register new customer

```
$mongerClient->newCustomer(
            "CUSTOMER_INTERNAL_ID",
            "CUSTOMER_INITIALS",
            "CUSTOMER_EMAIL",
            "CUSTOMER_PHONE_NUMBER",
            CUSTOMER_GENDER,
            "CUSTOMER_COUNTRY",
            "CUSTOMER_CITY",
            "CUSTOMER_AGE",
            new \DateTime(),
            ["TAG_1", "TAG_2"]
        );
```

\##Register customer's new activity

```
$mongerClient->newActivity("CUSTOMER_INTERNAL_ID", "ACTIVITY_NAME", new \DateTime());
```

\##Register customer's new payment

```
$mongerClient->newPayment("CUSTOMER_INTERNAL_ID", "PAYMENT_INTERNAL_ID", PURCHASE_AMOUNT, new \DateTime());
```

\##Additional info

- You can find example at MongerClientTest
- To retrieve access to Monger Service visit page [Monger](https://monger.fnklabs.com)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4146d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7bdb978d3a9eab3695085611fbbe3b504dab740fcbe21730c127ba508b3acf05?d=identicon)[fnklabs](/maintainers/fnklabs)

---

Top Contributors

[![alimovalisher](https://avatars.githubusercontent.com/u/727087?v=4)](https://github.com/alimovalisher "alimovalisher (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fnklabs-monger/health.svg)

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

###  Alternatives

[wazaari/monolog-mysql

A handler for Monolog that sends messages to MySQL

140884.1k6](/packages/wazaari-monolog-mysql)[nkiraly/dbsteward

SQL database definition differencing tool. Structure and data is defined in a DTD-enforced, human-readable XML format. Outputs transactional SQL statement files to apply your changes.

504.2k](/packages/nkiraly-dbsteward)

PHPackages © 2026

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