I am getting Data using Eloquent by the following way and with pageinate
$BlogData = BlogModel::paginate(2);
I am getting 2 coloumn in the target page but i don't know how to display the pagination in the view.
I tried to display
{{ $paginator->getUrl($paginator->getCurrentPage()+1) }}
{{$paginator->links();}}
But it throws error Undefined variable: paginator (View: C:\xampp\htdocs\app\views\Blo
How can i do that