I'm working on a Laravel Project with MongoDB & I don't want to use any package for MongoDB. I want to write MongoDB Codes regularly like :
<?php
$m = new MongoClient();
echo "Connection to database successfully";
$db = $m->mydb;
echo "Database mydb selected";
?>
I had some questions :
- If I don't use any package I need change CONFIG in Laravel Files ?
- What happens to AUTH ? It works or not by using MongoDB or I should make Some Changes ?
Thanks ...