This is a sample application that implements CRUD operations with mongoDB and PHP using the mongo php library.
This sample application uses php and mongoDB. It demonstrates the implementation of CRUD operations while working with php and mongoDB using the mongoDB php library.
The project contains the views, the main stylesheet, basic back-end logic and packages for the MongoDB PHP library.
Install Mongo on your machine.
You can download mongo here https://www.mongodb.com/download-center#community
Set up MongoDB Driver for PHP:
Check the version of the driver that is compatible to your php version MongoDB PHP Drivers
More information on how to install the mongodriver for php
Add the mongo php library in case you mustMongoDB PHP Library
Paste a copy of the repo to an apache server such as wamp or xampp.
Run the apache and mongo server.
You can install a data visualisation tool such as Robomongo to see the results of the CRUD operations.
This project comes with the mongo php library packages. You can change the dbname in the dbcontext.php file and add more modules as you see fit in a copy of the repo.