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

https://github.com/formapro/yadm-bundle

An efficient way to treat MongoDB in Symfony. Extremely fast persistence and hydration.
https://github.com/formapro/yadm-bundle

Last synced: about 1 year ago
JSON representation

An efficient way to treat MongoDB in Symfony. Extremely fast persistence and hydration.

Awesome Lists containing this project

README

          

# YadmBundle

## Install

Install library

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

Register the bundle

```php
get('yadm');

$productStorage = $registry->getStorage('Acme\Model\Category');
```

## Migrations

Generate new migration class

```bash
$ ./bin/console yadm:migrations:generate
Generated new migration class to "/app/YadmMigrations/Migration20190301122316.php"
```

Generated migration class example

```php