I just tried below code and it returns nothing.
$view = \View::make('users.index', $data)->render();
Try casting your view to string
$view = (string)View::make('users.index',$data);
to display the view you simply do:
echo $view
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With