PHPackages                             abellion/xenus - 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. abellion/xenus

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

abellion/xenus
==============

Xenus : A MongoDB ODM

0.19.2(3y ago)3464.5k17[2 PRs](https://github.com/abellion/xenus/pulls)1MITPHPPHP ^7.1 || ^8.0

Since Feb 12Pushed 3y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (31)Used By (1)

 [ ![](https://camo.githubusercontent.com/02dea99c5089c7a638fdadbdf2031e55c207eb1ddd77ed83e1bbfde66813da6b/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f6162656c6c696f6e2f696d6167652f75706c6f61642f635f7363616c652c775f3330302f76313533353230323931362f6c6f676f5f696c707433732e706e67) ](https://abellion.github.io/xenus/)

Xenus is a simple and elegent MongoDB ODM.

- It has built-in and cross framework support for **events** ([Doc](https://abellion.github.io/xenus/#/?id=events))
- It makes your schema self documented via **document's mutators** ([Doc](https://abellion.github.io/xenus/#/?id=accessing-properties))
- It includes **fluent methods** to update, delete and insert documents ([Doc](https://abellion.github.io/xenus/#/?id=inserting-amp-updating-documents))
- It supports **documents' embeding** via an elegent syntax ([Doc](https://abellion.github.io/xenus/#/?id=embedding-documents))
- It handles **relationships** out of the box ([Doc](https://abellion.github.io/xenus/#/?id=relationships))
- It provides an elegent **transformation layer** mechanism for your API resources ([Doc](https://abellion.github.io/xenus/#/?id=resources))

If you're working with the Laravel or Lumen framework, take a look at the [Xenus Laravel](https://github.com/abellion/xenus-laravel) integration.

Learning Xenus
--------------

[](#learning-xenus)

The documentation is available at

License
-------

[](#license)

Xenus is licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

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

Every ~77 days

Recently: every ~223 days

Total

29

Last Release

1212d ago

PHP version history (3 changes)0.1PHP ^7.0

0.18PHP ^7.1|^8.0

0.19PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1567246b633341b38b84fd1d41baa7a141f534115a595830c03cf9179092c03?d=identicon)[abellion](/maintainers/abellion)

---

Top Contributors

[![abellion](https://avatars.githubusercontent.com/u/9916488?v=4)](https://github.com/abellion "abellion (255 commits)")[![Jeto143](https://avatars.githubusercontent.com/u/15939050?v=4)](https://github.com/Jeto143 "Jeto143 (1 commits)")[![kcalliauw](https://avatars.githubusercontent.com/u/1638303?v=4)](https://github.com/kcalliauw "kcalliauw (1 commits)")[![mitrii](https://avatars.githubusercontent.com/u/2143999?v=4)](https://github.com/mitrii "mitrii (1 commits)")[![mkade](https://avatars.githubusercontent.com/u/26662122?v=4)](https://github.com/mkade "mkade (1 commits)")[![opeadeyomoye](https://avatars.githubusercontent.com/u/13920568?v=4)](https://github.com/opeadeyomoye "opeadeyomoye (1 commits)")

---

Tags

mongodbmongodb-odmodmphpodmmongodbphp 7php-8xenus

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abellion-xenus/health.svg)

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[doctrine/mongodb-odm

PHP Doctrine MongoDB Object Document Mapper (ODM) provides transparent persistence for PHP objects to MongoDB.

1.1k23.3M299](/packages/doctrine-mongodb-odm)[mmucklo/queue-bundle

Symfony2/3/4/5 Queue Bundle (for background jobs) supporting Mongo (Doctrine ODM), Mysql (and any Doctrine ORM), RabbitMQ, Beanstalkd, Redis, and ... {write your own}

120839.8k](/packages/mmucklo-queue-bundle)[doctrine/doctrine-mongo-odm-module

Laminas Module which provides Doctrine MongoDB ODM functionality

86676.6k35](/packages/doctrine-doctrine-mongo-odm-module)[leroy-merlin-br/mongolid

Easy, powerful and ultrafast ODM for PHP and MongoDB.

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

The fastest MongoDB object document mapper.

843.3k3](/packages/formapro-yadm)

PHPackages © 2026

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