PHPackages                             matryoshka-model/mongo-transactional - 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. matryoshka-model/mongo-transactional

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

matryoshka-model/mongo-transactional
====================================

Perform transactional operations with MongoDB

v0.2.1(10y ago)2501[3 issues](https://github.com/matryoshka-model/mongo-transactional/issues)BSD-2-ClausePHPPHP &gt;=5.5.0

Since Mar 18Pushed 10y agoCompare

[ Source](https://github.com/matryoshka-model/mongo-transactional)[ Packagist](https://packagist.org/packages/matryoshka-model/mongo-transactional)[ Docs](https://github.com/matryoshka-model/mongo-transaction)[ RSS](/packages/matryoshka-model-mongo-transactional/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (4)Used By (0)

[![](https://github.com/matryoshka-model/matryoshka/raw/master/docs/assets/images/matryoshka_logo_hi_res_512.png)](https://github.com/matryoshka-model/matryoshka/blob/master/docs/assets/images/matryoshka_logo_hi_res_512.png)

MongoTransactional ------------------ [![Latest Stable Version](https://camo.githubusercontent.com/8f00312ba0096475d4033afa6b16561a452f0920638f60e29ced78c94020a6ac/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617472796f73686b612d6d6f64656c2f6d6f6e676f2d7472616e73616374696f6e616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/matryoshka-model/mongo-transactional) [![Build Status](https://camo.githubusercontent.com/f6cc079b4b93533c8bfbaeea910c1ea042d98ff17702bcafc0e9da42e5b752dd/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d617472796f73686b612d6d6f64656c2f6d6f6e676f2d7472616e73616374696f6e616c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/matryoshka-model/mongo-transactional) [![Coveralls branch](https://camo.githubusercontent.com/c13b5fd893348e5b320a3999c530c8cb0b72dc9dd4c32546fe1543bfff5b2247/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6d617472796f73686b612d6d6f64656c2f6d6f6e676f2d7472616e73616374696f6e616c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/matryoshka-model/mongo-transactional?branch=master) [![Matryoshka Model's Slack](https://camo.githubusercontent.com/7b173ae656e6f68002d07e15d05a8323c38983856f38238b76f6baf1821d8b54/687474703a2f2f6d617472796f73686b612d736c61636b696e2e6865726f6b756170702e636f6d2f62616467652e7376673f7374796c653d666c61742d737175617265)](http://matryoshka-slackin.herokuapp.com)

> PHP library for transactional operations with MongoDB.

**WIP**

Why?
----

[](#why)

Because we can. Deal with it.

Install
-------

[](#install)

To install it using [composer](http://getcomposer.org) add the following to your **composer.json** file:

```
"require": {
    "matryoshka-model/mongo-transactional": "~0.2.0"
}

```

Continuous integration
----------------------

[](#continuous-integration)

**CI** provided through [TravisCI](http://travis-ci.org/matryoshka-model/mongo-transactional).

This wrapper is tested against the following MongoDB PHP clients: **1.4.5**, **1.5.0**, **1.5.1**, **1.5.2**, **1.5.3**, **1.5.4**, **1.5.5**, **1.5.6**, **1.5.7**, **1.5.8**, **1.6.0**, **1.6.1**, **1.6.2**, **1.6.3**, **1.6.4**, **1.6.5**, **1.6.6**, **1.6.7**, **1.6.8**, **1.6.9**.

---

[![Analytics](https://camo.githubusercontent.com/1b7fce9ebb2a44669b846b7c94a5ee85a473241af6e8d25e3daad160a9159d7d/68747470733a2f2f67612d626561636f6e2e61707073706f742e636f6d2f55412d34393635373137362d322f6d6f6e676f2d7472616e73616374696f6e616c3f666c6174)](https://github.com/igrigorik/ga-beacon)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~6 days

Total

2

Last Release

3700d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/120051?v=4)[Leo Di Donato](/maintainers/leodido)[@leodido](https://github.com/leodido)

![](https://www.gravatar.com/avatar/376c46dedf9febc5ed5f99f8aed6269b93e2e7ea09b71e2d8f26faf078fd10ad?d=identicon)[leogr](/maintainers/leogr)

![](https://avatars.githubusercontent.com/u/3627018?v=4)[visa4](/maintainers/visa4)[@visa4](https://github.com/visa4)

---

Top Contributors

[![leodido](https://avatars.githubusercontent.com/u/120051?v=4)](https://github.com/leodido "leodido (29 commits)")[![leogr](https://avatars.githubusercontent.com/u/3390997?v=4)](https://github.com/leogr "leogr (25 commits)")[![theboolean](https://avatars.githubusercontent.com/u/1123102?v=4)](https://github.com/theboolean "theboolean (16 commits)")

---

Tags

modelisolationnosqldbmongodbtransactionsmongotransactionaltransactionmatryoshka2PCtwo-phase commitdurability

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matryoshka-model-mongo-transactional/health.svg)

```
[![Health](https://phpackages.com/badges/matryoshka-model-mongo-transactional/health.svg)](https://phpackages.com/packages/matryoshka-model-mongo-transactional)
```

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[sokil/php-mongo

PHP Object Document Mapper for MongoDB

239161.5k9](/packages/sokil-php-mongo)[moloquent/moloquent

A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)

120114.6k7](/packages/moloquent-moloquent)[leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB.

11234.3k4](/packages/leroy-merlin-br-mongolid)

PHPackages © 2026

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