This tutorial explains how to perform the basic CRUD (creating, retrieving, updating and deleting) operations on a MongoDB resource using jenssegers/laravel-mongodb package.
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.
Nothing yet..be the first to share wisdom.