{"id":28543971,"url":"https://github.com/prooph/event-store-mongodb-adapter","last_synced_at":"2026-02-16T14:34:52.997Z","repository":{"id":32601318,"uuid":"36185535","full_name":"prooph/event-store-mongodb-adapter","owner":"prooph","description":"[Deprecated] MongoDB Adapter for ProophEventStore ","archived":false,"fork":false,"pushed_at":"2018-11-02T15:34:42.000Z","size":120,"stargazers_count":6,"open_issues_count":0,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-09T22:07:13.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://getprooph.org","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prooph.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-24T18:07:03.000Z","updated_at":"2023-05-07T02:28:25.000Z","dependencies_parsed_at":"2022-08-24T01:21:11.452Z","dependency_job_id":null,"html_url":"https://github.com/prooph/event-store-mongodb-adapter","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/prooph/event-store-mongodb-adapter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fevent-store-mongodb-adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fevent-store-mongodb-adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fevent-store-mongodb-adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fevent-store-mongodb-adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prooph","download_url":"https://codeload.github.com/prooph/event-store-mongodb-adapter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prooph%2Fevent-store-mongodb-adapter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29510252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-09T22:06:26.565Z","updated_at":"2026-02-16T14:34:52.992Z","avatar_url":"https://github.com/prooph.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# event-store-mongodb-adapter\n\n[![Build Status](https://travis-ci.org/prooph/event-store-mongodb-adapter.svg?branch=master)](https://travis-ci.org/prooph/event-store-mongodb-adapter)\n[![Coverage Status](https://coveralls.io/repos/prooph/event-store-mongodb-adapter/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/prooph/event-store-mongodb-adapter?branch=master)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/prooph/improoph)\n\nMongoDB Adapter for [ProophEventStore](https://github.com/prooph/event-store)\n\n#CAUTION: The mongoDB adapter is **NOT** compatible With prooph/event-store v7. MongoDB has limited ACID support which is not compatible with the new features of prooph/event-store. MongoDB is a great choice for a read model database, but unfortunately it cannot be used as an event-store that requires transactions across documents (events). \nCodeliner has published a [Gist](https://gist.github.com/codeliner/14a8d98d53efafdd35e851d76e89cc94) that shows a custom implementation of a possible mongoDB event store supporting a subset of the v7 features in a very limited way. If you want to try to bring mongoDB back, please get in touch with us and we can discuss it! \n\n**Support for the adapter will end at 31 December 2017.**\n\nRequirements\n------------\n\n- MongoDB \u003e= 4.0\n- MongoDB PHP Driver \u003e= 1.5.2\n\nTransactions\n-------------\n\nThe transaction write concern for this adapter is `majority`.\n\nThe transaction read concern for this adapter is `snapshot`.\n\nYou can disable transactions for this adapter.\n\nConsiderations\n--------------\n\nThis adapter does not use the MongoDB ObjectId for its primary key, instead a UUID (string) is used.\n\nWe recommend the AggregateStreamStrategy as the best strategy to use with this adapter.\n\nKeep in mind that transaction safety works only for a replica set. Sharded cluster support is planned for MongoDB 4.2.\nTherefore it's not safe to use this adapter in a sharded cluster environment, as MongoDB can't guarantee transaction safety.\n\nStream can not be reset if iteration was started due the MongoDB cursor.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprooph%2Fevent-store-mongodb-adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprooph%2Fevent-store-mongodb-adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprooph%2Fevent-store-mongodb-adapter/lists"}