Getting Started with Laravel 5.4 and MongoDB
Markus Tripp
1559

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.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.