/MongoDB-CRUD-Opearion-in-PHP

This is CRUD Operation of MongoDB in PHP

Primary LanguagePHP

MongoDB-CRUD-Opearion-in-PHP

This is CRUD Operation of MongoDB in PHP

To use this project in your device, first of all you need to install mongodb in your device, 2. download mongodb driver for php https://pecl.php.net/package/mongodb/1.9.1/windows. 3. Go to PHP.ini file and write this 'extension=php_mongodb.dll'. 4. Make sure you have installed composer in your system https://getcomposer.org/download/. 5. open command prompt from your project directory and write composer require mongodb/mongodb hit enter. 6. open command prompt from your C:\Program Files\MongoDB\Server\4.4\bin type mongod 7. open command prompt from your C:\Program Files\MongoDB\Server\4.4\bin type mongo 8. create database Student by "use Student". 9. create collection students by "db.createCollection("students").