Laravel Mongodb

mongodb/laravel-mongodb image

Laravel Mongodb stats

Downloads
18.9K
Stars
6,631
Open Issues
162
Forks
1,404

View on GitHub →

A MongoDB based Eloquent model and Query builder for Laravel

Laravel MongoDB Package Summary

The Laravel MongoDB package is a robust solution for integrating MongoDB with Laravel's Eloquent ORM. Developed under the ownership of MongoDB, Inc., this package ensures seamless interaction with MongoDB databases using Laravel's native Eloquent model and query builder patterns.

Key Features

  • Eloquent Integration: Utilizes Eloquent ORM methods for MongoDB, providing a familiar API for Laravel developers.
  • Query Builder Support: Extends Laravel's query builder to craft MongoDB-specific queries without leaving the Laravel environment.
  • Transactions: Supports transactions, allowing for complex business operations to be handled safely.
  • Authentication and Queues: Simplifies user authentication and job queueing with MongoDB.
  • Up-to-date with Laravel 10.x: Ensures compatibility with the latest Laravel version, with guidance for earlier versions available.

Installation and Documentation

Installation is straightforward via Composer, and the package includes detailed documentation for each feature, ranging from setup to advanced usage:

Support and Contributions

Development

Contributions are welcomed; development details and contribution guidelines are available in CONTRIBUTING.md, and project tracking is done through PHPORM on MongoDB's JIRA.

This package is essential for developers looking to leverage MongoDB within their Laravel applications, providing powerful capabilities and seamless integration.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Mongodb Laravel Mongodb Related Articles

EnvKit: A Local Development Stack for Laravel on Windows and macOS image

EnvKit: A Local Development Stack for Laravel on Windows and macOS

Read article
Laracon US 2026 Reveals Its Full Speaker Lineup image

Laracon US 2026 Reveals Its Full Speaker Lineup

Read article
Laravel MongoDB Full-Text Search tutorial: The Art of the Relevancy image

Laravel MongoDB Full-Text Search tutorial: The Art of the Relevancy

Read article
Personalized Content Delivery System: Building an AI-powered recommendation engine with Laravel and MongoDB image

Personalized Content Delivery System: Building an AI-powered recommendation engine with Laravel and MongoDB

Read article
Build Custom Middleware for Query Performance Monitoring and Optimization in Laravel with MongoDB image

Build Custom Middleware for Query Performance Monitoring and Optimization in Laravel with MongoDB

Read article
Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions image

Making Laravel MongoDB Operations Idempotent: Safe Retries for Financial Transactions

Read article
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Typesense Search logo

Typesense Search

Typesense is an open source, blazing-fast search engine, optimized for helping you build delightful search experiences for your sites and apps. Natively integrated with Laravel Scout.

Typesense Search
Celebian logo

Celebian

Celebian is a social media marketing agency specializing in helping their clients go viral on TikTok. Whether you're looking to reach a bigger audience or gain more Tiktok followers, likes, and views, they've got you covered.

Celebian
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger