Getting Started with Laravel 5.4 and MongoDB
Markus Tripp

Doesn’t work for me. I’m using the same configuration but instead of Valet I’m using a docker container accessible on `http://localhost:80/`. Following your tutorial `http://localhost:80/mongo/` directs me to the home page `http://localhost:80/` and returns no database values in the view. I also tried to use

use MongoDB\Client as Mongo;
$collection = Mongo::get()->mydatabase->mycollection;
echo $collection->find()->toArray();

from within welcome.blaze.php but getting an `Call to undefined method MongoDB\Client::get()`error.