Laravel-MongoDB CRUD

Getting Started

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.

Last Updated: 10-October-2016


Post a comment

Name

Your Comment

Email (We dont publish it)

Comments

Nothing yet..be the first to share wisdom.