Casbah is now officially end-of-life (EOL).
Alternatives To Casbah
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Mongo23,8431an hour ago21September 13, 202274otherC++
The MongoDB Database
Migrate11,47759416 hours ago129March 17, 2022269otherGo
Database migrations. CLI and Golang library.
Node Mongodb Native9,773116,9959,5923 days ago406September 19, 202218apache-2.0TypeScript
The Official MongoDB Node.js Driver
Mongo Go Driver7,4343,584an hour ago307September 06, 20227apache-2.0Go
The Official Golang driver for MongoDB
Mongo Python Driver3,84817,9311,591an hour ago127April 13, 20228apache-2.0Python
PyMongo - the Official MongoDB Python driver
Mongo Csharp Driver2,9982,1643744 hours ago109July 30, 202244apache-2.0C#
The Official C# .NET Driver for MongoDB
Mgo2,6192,1022,5632 years ago4August 07, 2017224otherGo
The MongoDB driver for Go. UNMAINTAINED - SEE BELOW
Mongo Java Driver2,53811,4031,0203 days ago143April 22, 202210apache-2.0Java
The official MongoDB drivers for Java, Kotlin, and Scala
Phpfastcache2,2672091334 months ago185June 09, 20222mitPHP
A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Awesome Mongodb2,194
a day ago1
:leaves: A curated list of awesome MongoDB resources, libraries, tools and applications
Alternatives To Casbah
Select To Compare

Alternative Project Comparisons

End of Life Notice

MongoDB Casbah is now officially end-of-life (EOL). No further development, bugfixes, enhancements, documentation changes or maintenance will be provided by this project and pull requests will no longer be accepted.

Users are encouraged to migrate to the Mongo Scala Driver for a modern idiomatic MongoDB Scala driver.


Casbah is a legacy interface for MongoDB designed to provide more flexible access from both Java and Scala. The core focus is on providing a Scala oriented wrapper interface around the Java mongo driver.

For the Scala side, contains series of wrappers and DSL-like functionality for utilizing MongoDB from within Scala. This currently utilises the very Java-oriented Mongo Java driver, and attempts to provide more scala-like functionality on top of it. This has been tested with MongoDB 1.2.x+ and 2.x of the Mongo java driver.

For more information see the Casbah documentation hub.

Project Artifacts

Casbah is separated out into several artifacts:

  • casbah-commons
    Provides utilities to improve working with Scala and MongoDB together without dependencies on anything but the MongoDB Java Driver and ScalaJ-Collection. This includes Scala Collections 2.8 compatible wrappers for DBList and DBObject as well as type conversion facilities to simplify the use of Scala types with MongoDB (and register your own custom types)
  • casbah-query
    The Query DSL which provides an internal Scala DSL for querying MongoDB using native, MongoDB syntax operators. This only depends upon Commons and can be used standalone without the rest of Casbah.
  • casbah-core
    This is the wrappers for interacting directly with MongoDB providing more Scala-like interactions. It depends upon both Commons and Query as well as ScalaTime for use of JodaTime (which we prefer over JDK date but you are welcome to use JDK Dates).
  • casbah-gridfs
    This provides enhancement wrappers to GridFS including loan pattern support. It is dependent on Core (and by transitive property, Commons & Query as well) but is not included in Core - you must explicitly load if it you want to use GridFS.
Popular Mongodb Projects
Popular Driver Projects
Popular Data Storage Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.