Download the PHP package prooph/event-store-mongodb-adapter without Composer

On this page you can find all versions of the php package prooph/event-store-mongodb-adapter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package event-store-mongodb-adapter

event-store-mongodb-adapter

Build Status Coverage Status Gitter

MongoDB Adapter for ProophEventStore

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).

Codeliner has published a Gist 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!

Support for the adapter will end at 31 December 2017.

Requirements

Transactions

The transaction write concern for this adapter is majority.

The transaction read concern for this adapter is snapshot.

You can disable transactions for this adapter.

Considerations

This adapter does not use the MongoDB ObjectId for its primary key, instead a UUID (string) is used.

We recommend the AggregateStreamStrategy as the best strategy to use with this adapter.

Keep in mind that transaction safety works only for a replica set. Sharded cluster support is planned for MongoDB 4.2. Therefore it's not safe to use this adapter in a sharded cluster environment, as MongoDB can't guarantee transaction safety.

Stream can not be reset if iteration was started due the MongoDB cursor.


All versions of event-store-mongodb-adapter with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
ext-mongodb Version ^1.5.2
mongodb/mongodb Version ^1.4.2
prooph/event-store Version ^6.3
beberlei/assert Version ~2.4
prooph/common Version ^3.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package prooph/event-store-mongodb-adapter contains the following files

Loading the files please wait ....