You can use $comment->id; to get the last inserted id.
In your controller method you pass the display mode to the template: public function index() {...
This doesn't look like a problem connected to Homestead to me. I also switched from local Mac env to...
The Laravel portal for problem solving, knowledge sharing and community building.
The community