Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/abellion/xenus

A simple and elegant MongoDB ODM
https://github.com/abellion/xenus

mongodb mongodb-odm odm php

Last synced: about 1 month ago
JSON representation

A simple and elegant MongoDB ODM

Awesome Lists containing this project

README

        





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

The documentation is available at https://abellion.github.io/xenus

## License

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