How To

Getting Started

by Remy Pereira on 10th October 2016

This tutorial explains how to perform the basic CRUD (creating, retrieving, updating and deleting) operations on a MongoDB resource using jenssegers/laravel-mongodb package.

Pre-requisites:

1. MongoDB is installed. (Click here for instructions)

2. Laravel is installed. (Click here for instructions)

3. Laravel package(jenssegers/laravel-mongodb) for MongoDB is installed and MongoDB connection is configured. (Click here for instructions)

In MongoDB, a collection is the equivalent to a table in relational database. The jenssegers package includes a MongoDB enabled Eloquent class (Moloquent) . You can use Moloquent to define models corresponding to collections.

Post a comment

Post Reply

Comments