PHPackages                             aurimasniekis/doctrine-collection-updater - 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. aurimasniekis/doctrine-collection-updater

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

aurimasniekis/doctrine-collection-updater
=========================================

Doctrine Doctrine collection element updater

1.1.0(8y ago)0240MITPHPPHP ^7.0

Since Oct 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/aurimasniekis/doctrine-collection-updater)[ Packagist](https://packagist.org/packages/aurimasniekis/doctrine-collection-updater)[ Docs](https://github.com/aurimasniekis/doctrine-collection-updater)[ RSS](/packages/aurimasniekis-doctrine-collection-updater/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Doctrine Collection Updater
===========================

[](#doctrine-collection-updater)

[![Latest Version](https://camo.githubusercontent.com/1f2489a7449e74e1672e418d46936e02d2f496e59329c85b6cecae9a7f889cec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f617572696d61736e69656b69732f646f637472696e652d636f6c6c656374696f6e2d757064617465722e7376673f7374796c653d666c61742d737175617265)](https://github.com/aurimasniekis/doctrine-collection-updater/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/fa41246b4f2ea0e2def254bb6756f0e18ac4490cf84e7a35d6658a285e59bd05/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f617572696d61736e69656b69732f646f637472696e652d636f6c6c656374696f6e2d757064617465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/aurimasniekis/doctrine-collection-updater)[![Code Coverage](https://camo.githubusercontent.com/4666df62c922be4d0d1621b1ca7e31d5697e76af7adb62d4ed52bfa51ba4081f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f617572696d61736e69656b69732f646f637472696e652d636f6c6c656374696f6e2d757064617465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/aurimasniekis/doctrine-collection-updater)[![Quality Score](https://camo.githubusercontent.com/fd9fa75733cd12a9b83deccc323f2cb91bf560e6f3bb89b2e8b203fef6891f24/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f617572696d61736e69656b69732f646f637472696e652d636f6c6c656374696f6e2d757064617465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/aurimasniekis/doctrine-collection-updater)[![Total Downloads](https://camo.githubusercontent.com/f39a2532f702dbd6ec492fd45245674a3e7b13127b6da0aba927392ef3ccb11d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617572696d61736e69656b69732f646f637472696e652d636f6c6c656374696f6e2d757064617465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aurimasniekis/doctrine-collection-updater)

[![Email](https://camo.githubusercontent.com/e3e4a46ec999fd7bad8871d0ce2a60123a3b8a79f04c305bfb2b976482bbcfbb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f656d61696c2d617572696d6173406e69656b69732e6c742d626c75652e7376673f7374796c653d666c61742d737175617265)](mailto:aurimas@niekis.lt)

Doctrine Collection Updater provides a trait to update collection (create, remove) element from collection based on array of comparators for e.g. `id`.

Install
-------

[](#install)

Via Composer

```
$ composer require aurimasniekis/doctrine-collection-updater
```

Usage
-----

[](#usage)

```
