ReactiveMongo plugin for Playframework
Scala Shell
Latest commit 54d20ee Jul 26, 2016 @cchantep cchantep committed on GitHub Merge pull request #211 from cchantep/fix/211
Check GridFS for Play 2.5

ReactiveMongo for Play Framework

This is a plugin for Play Framework 2.4 and 2.5, enabling support for ReactiveMongo – a reactive, asynchronous and non-blocking Scala driver for MongoDB.


In your project/Build.scala or build.sbt:

val reactiveMongoVer = "0.11.14"

// only for Play 2.5.x
libraryDependencies ++= Seq(
  "org.reactivemongo" %% "play2-reactivemongo" % reactiveMongoVer

// only for Play 2.4.x
libraryDependencies ++= Seq(
  "org.reactivemongo" %% "play2-reactivemongo" % s"$reactiveMongoVer-play24"
) Maven Central

Learn more:

The documentation is available online.

Build manually

ReactiveMongo for Play 2 can be built from this source repository.

sbt publish-local

To run the tests, use:

sbt test

As of Play 2.4, a JDK 1.8+ is required to build this plugin.