PHPackages                             formapro/yadm - 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. formapro/yadm

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

formapro/yadm
=============

The fastest MongoDB object document mapper.

0.5.5(7y ago)843.3k6[2 issues](https://github.com/formapro/yadm/issues)3MITPHPPHP ^7.1

Since Feb 10Pushed 7y ago6 watchersCompare

[ Source](https://github.com/formapro/yadm)[ Packagist](https://packagist.org/packages/formapro/yadm)[ RSS](/packages/formapro-yadm/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (26)Used By (3)

Yadm is the fastest MongoDB ODM.
================================

[](#yadm-is-the-fastest-mongodb-odm)

[![Build Status](https://camo.githubusercontent.com/9a4bd7e2c1a0c6932920f1d72e6212e4060a4021aeaea4b5fd2d33c2fd5219e5/68747470733a2f2f7472617669732d63692e6f72672f666f726d6170726f2f76616c7565732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/formapro/yadm)

The schema less ODM. It gives you the fastest hydration and persistent. Based on [formapro/values](https://github.com/formapro/values) lib.

Install
-------

[](#install)

```
$ composer require formapro/yadm "mikemccabe/json-patch-php:dev-master as 0.1.1"
```

Storage example
---------------

[](#storage-example)

Let's say we have an order model:

```
